pub enum MessageType {
MCtpControl = 0,
VendorDefinedPCI = 126,
VendorDefinedIANA = 127,
Invalid = 255,
}
Expand description
The Message Type of the MCTP packet
Variants§
MCtpControl = 0
A control message
VendorDefinedPCI = 126
Message type used to support VDMs where the vendor is identified using a PCI-based vendor ID.
VendorDefinedIANA = 127
Message type used to support VDMs where the vendor is identified using an IANA-based vendor ID.
Invalid = 255
Internal use
Trait Implementations§
Source§impl Debug for MessageType
impl Debug for MessageType
Source§impl From<u8> for MessageType
impl From<u8> for MessageType
Source§fn from(num: u8) -> MessageType
fn from(num: u8) -> MessageType
Converts to this type from the input type.
Source§impl PartialEq for MessageType
impl PartialEq for MessageType
impl StructuralPartialEq for MessageType
Auto Trait Implementations§
impl Freeze for MessageType
impl RefUnwindSafe for MessageType
impl Send for MessageType
impl Sync for MessageType
impl Unpin for MessageType
impl UnwindSafe for MessageType
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