pub enum BusState {
Unknown = 0,
Idle = 1,
Owner = 2,
Busy = 3,
}
Expand description
Type representing the current bus state
Variants§
Trait Implementations§
Source§impl Specifier for BusState
impl Specifier for BusState
Source§fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>
fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>
Converts some bytes into the in-out type. Read more
Source§fn from_bytes(
bytes: Self::Bytes,
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
fn from_bytes( bytes: Self::Bytes, ) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
Converts the given bytes into the in-out type. Read more
impl StructuralPartialEq for BusState
Auto Trait Implementations§
impl Freeze for BusState
impl RefUnwindSafe for BusState
impl Send for BusState
impl Sync for BusState
impl Unpin for BusState
impl UnwindSafe for BusState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more