Home
last modified time | relevance | path

Searched refs:BatControlResult (Results 1 – 3 of 3) sorted by relevance

/external/crosvm/vm_control/src/
Dlib.rs597 pub enum BatControlResult { enum
607 impl Display for BatControlResult { implementation
609 use self::BatControlResult::*; in fmt()
635 type Err = BatControlResult;
640 _ => Err(BatControlResult::NoSuchBatType), in from_str()
655 type Err = BatControlResult;
664 _ => Err(BatControlResult::NoSuchProperty), in from_str()
679 pub fn new(status: String) -> std::result::Result<Self, BatControlResult> { in new() argument
686 _ => Err(BatControlResult::NoSuchStatus), in new()
692 type Err = BatControlResult;
[all …]
Dclient.rs12 BatControlErr(BatControlResult),
/external/crosvm/devices/src/
Dbat.rs15 use vm_control::{BatControlCommand, BatControlResult};
234 if let Err(e) = tube.send(&BatControlResult::Ok) { in command_monitor()