Enum Mtype
#[repr(u8)]pub enum Mtype {
Show 16 variants
SclStop = 0,
Header = 1,
Private = 2,
Direct = 3,
LegacyI2c = 4,
_RESERVED_5 = 5,
Ccc = 6,
_RESERVED_7 = 7,
HotJoin = 8,
ControllerRole = 9,
Ibi = 10,
_RESERVED_b = 11,
_RESERVED_c = 12,
_RESERVED_d = 13,
_RESERVED_e = 14,
_RESERVED_f = 15,
}Variants§
SclStop = 0
SCL clock is forced to stop until a next control word is executed (controller)
Header = 1
header message (controller)
Private = 2
private message (controller)
Direct = 3
direct message, second part of an I3C SDR direct CCC command (controller)
LegacyI2c = 4
legacy I2C message (controller)
_RESERVED_5 = 5
Ccc = 6
broadcast/direct CCC command (controller, written via CR_ALTERNATE)
_RESERVED_7 = 7
HotJoin = 8
hot-join request (target)
ControllerRole = 9
controller-role request (target)
Ibi = 10
IBI (in-band interrupt) request (target)
_RESERVED_b = 11
_RESERVED_c = 12
_RESERVED_d = 13
_RESERVED_e = 14
_RESERVED_f = 15
Implementations§
Trait Implementations§
impl Copy for Mtype
impl Eq for Mtype
§impl Ord for Mtype
impl Ord for Mtype
1.21.0 (const: unstable) · 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
§impl PartialOrd for Mtype
impl PartialOrd for Mtype
impl StructuralPartialEq for Mtype
Auto Trait Implementations§
impl Freeze for Mtype
impl RefUnwindSafe for Mtype
impl Send for Mtype
impl Sync for Mtype
impl Unpin for Mtype
impl UnsafeUnpin for Mtype
impl UnwindSafe for Mtype
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