#[repr(u8)]pub enum NackCode {
IncorrectPatternFormat = 0,
UnknownPayloadType = 1,
MessageTooLarge = 2,
OutOfMemory = 3,
InvalidPayloadLength = 4,
}Expand description
Used in GenericNack, NackCode provides the possible errors causing the
NACK.
Used to understand the result of a DoIP packet.
Variants§
IncorrectPatternFormat = 0
Incorrect Pattern Format
UnknownPayloadType = 1
Unknown Payload Type
MessageTooLarge = 2
Message Too Large
OutOfMemory = 3
Out Of Memory
InvalidPayloadLength = 4
Invalid Payload Length
Trait Implementations§
impl Copy for NackCode
impl StructuralPartialEq for NackCode
Auto Trait Implementations§
impl Freeze for NackCode
impl RefUnwindSafe for NackCode
impl Send for NackCode
impl Sync for NackCode
impl Unpin for NackCode
impl UnsafeUnpin for NackCode
impl UnwindSafe for NackCode
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