Searched refs:BatControlResult (Results 1 – 3 of 3) sorted by relevance
834 pub enum BatControlResult { enum844 impl Display for BatControlResult { implementation846 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() argument919 _ => Err(BatControlResult::NoSuchStatus), in new()925 type Err = BatControlResult;[all …]
22 BatControlErr(BatControlResult),
24 use vm_control::BatControlResult;236 if let Err(e) = tube.send(&BatControlResult::Ok) { in command_monitor()