pub enum MctpCompletionCode {
Success,
Error,
ErrorInvalidData,
ErrorInvalidLength,
ErrorNotReady,
ErrorUnsupportedCmd,
CommandSpecific(u8),
}Variants§
Success
Error
ErrorInvalidData
ErrorInvalidLength
ErrorNotReady
ErrorUnsupportedCmd
CommandSpecific(u8)
Trait Implementations§
Source§impl Clone for MctpCompletionCode
impl Clone for MctpCompletionCode
Source§fn clone(&self) -> MctpCompletionCode
fn clone(&self) -> MctpCompletionCode
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 MctpCompletionCode
impl Debug for MctpCompletionCode
Source§impl Default for MctpCompletionCode
impl Default for MctpCompletionCode
Source§fn default() -> MctpCompletionCode
fn default() -> MctpCompletionCode
Returns the “default value” for a type. Read more
Source§impl Format for MctpCompletionCode
impl Format for MctpCompletionCode
Source§impl From<MctpCompletionCode> for u8
impl From<MctpCompletionCode> for u8
Source§fn from(value: MctpCompletionCode) -> Self
fn from(value: MctpCompletionCode) -> Self
Converts to this type from the input type.
Source§impl NumBytes for MctpCompletionCode
impl NumBytes for MctpCompletionCode
Source§impl PartialEq for MctpCompletionCode
impl PartialEq for MctpCompletionCode
Source§impl TryFrom<u8> for MctpCompletionCode
impl TryFrom<u8> for MctpCompletionCode
Source§impl TryFromBits<u32> for MctpCompletionCode
impl TryFromBits<u32> for MctpCompletionCode
Source§impl TryIntoBits<u32> for MctpCompletionCode
impl TryIntoBits<u32> for MctpCompletionCode
impl Copy for MctpCompletionCode
impl Eq for MctpCompletionCode
impl StructuralPartialEq for MctpCompletionCode
Auto Trait Implementations§
impl Freeze for MctpCompletionCode
impl RefUnwindSafe for MctpCompletionCode
impl Send for MctpCompletionCode
impl Sync for MctpCompletionCode
impl Unpin for MctpCompletionCode
impl UnwindSafe for MctpCompletionCode
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