Lines Matching refs:BusState
26 pub enum BusState { enum
33 impl From<u32> for BusState { implementation
36 0 => BusState::NotInitialized, in from()
37 1 => BusState::Initialized, in from()
38 _ => BusState::UnDefined, in from()
44 impl From<DeviceState> for BusState { implementation
47 DeviceState::Initialized => BusState::Initialized, in from()
48 DeviceState::NotInitialized => BusState::NotInitialized, in from()
49 DeviceState::UnDefined => BusState::UnDefined, in from()
55 impl From<BusState> for DeviceState {
56 fn from(state: BusState) -> Self { in from()
58 BusState::Initialized => DeviceState::Initialized, in from()
59 BusState::NotInitialized => DeviceState::NotInitialized, in from()
60 BusState::UnDefined => DeviceState::UnDefined, in from()