pub struct MsgType(pub u8);Expand description
MCTP Message type field
Note that this does not include the Integrity Check bit; the most-significant bit will always be zero.
Defined values are in DSP0239
Tuple Fields§
§0: u8Trait Implementations§
impl Copy for MsgType
impl Eq for MsgType
Source§impl Ord for MsgType
impl Ord for MsgType
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
Source§impl PartialOrd for MsgType
impl PartialOrd for MsgType
impl StructuralPartialEq for MsgType
Auto Trait Implementations§
impl Freeze for MsgType
impl RefUnwindSafe for MsgType
impl Send for MsgType
impl Sync for MsgType
impl Unpin for MsgType
impl UnsafeUnpin for MsgType
impl UnwindSafe for MsgType
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