Home
last modified time | relevance | path

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

/external/crosvm/vm_control/src/
Dlib.rs834 pub enum BatControlResult { enum
844 impl Display for BatControlResult { implementation
846 use self::BatControlResult::*; in fmt()
868 type Err = BatControlResult;
873 _ => Err(BatControlResult::NoSuchBatType), in from_str()
888 type Err = BatControlResult;
897 _ => Err(BatControlResult::NoSuchProperty), in from_str()
912 pub fn new(status: String) -> std::result::Result<Self, BatControlResult> { in new() argument
919 _ => Err(BatControlResult::NoSuchStatus), in new()
925 type Err = BatControlResult;
[all …]
Dclient.rs22 BatControlErr(BatControlResult),
/external/crosvm/devices/src/
Dbat.rs24 use vm_control::BatControlResult;
236 if let Err(e) = tube.send(&BatControlResult::Ok) { in command_monitor()