Searched refs:BatControlResult (Results 1 – 3 of 3) sorted by relevance
597 pub enum BatControlResult { enum607 impl Display for BatControlResult { implementation609 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() argument686 _ => Err(BatControlResult::NoSuchStatus), in new()692 type Err = BatControlResult;[all …]
12 BatControlErr(BatControlResult),
15 use vm_control::{BatControlCommand, BatControlResult};234 if let Err(e) = tube.send(&BatControlResult::Ok) { in command_monitor()