#[repr(u8)]pub enum Mstpending {
IN_PROGRESS = 0,
PENDING = 1,
}Variants§
IN_PROGRESS = 0
In progress. Communication is in progress and the Master function is busy and cannot currently accept a command.
PENDING = 1
Pending. The Master function needs software service or is in the idle state. If the master is not in the idle state, it is waiting to receive or transmit data or the NACK bit.
Implementations§
Source§impl Mstpending
impl Mstpending
Trait Implementations§
Source§impl Clone for Mstpending
impl Clone for Mstpending
Source§fn clone(&self) -> Mstpending
fn clone(&self) -> Mstpending
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Mstpending
impl Debug for Mstpending
Source§impl From<Mstpending> for u8
impl From<Mstpending> for u8
Source§fn from(val: Mstpending) -> u8
fn from(val: Mstpending) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Mstpending
impl From<u8> for Mstpending
Source§fn from(val: u8) -> Mstpending
fn from(val: u8) -> Mstpending
Converts to this type from the input type.
Source§impl Ord for Mstpending
impl Ord for Mstpending
Source§fn cmp(&self, other: &Mstpending) -> Ordering
fn cmp(&self, other: &Mstpending) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Mstpending
impl PartialEq for Mstpending
Source§impl PartialOrd for Mstpending
impl PartialOrd for Mstpending
impl Copy for Mstpending
impl Eq for Mstpending
impl StructuralPartialEq for Mstpending
Auto Trait Implementations§
impl Freeze for Mstpending
impl RefUnwindSafe for Mstpending
impl Send for Mstpending
impl Sync for Mstpending
impl Unpin for Mstpending
impl UnwindSafe for Mstpending
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