pub enum BusState {
Unknown,
Idle,
Owner,
Busy,
}
Expand description
Type representing the current bus state
Variants
Unknown
Idle
Owner
Busy
Trait Implementations
sourceimpl Specifier for BusState
impl Specifier for BusState
sourcefn 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
sourcefn 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 RefUnwindSafe for BusState
impl Send for BusState
impl Sync for BusState
impl Unpin for BusState
impl UnwindSafe for BusState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more