pub enum DiagnosticNackCode {
ReservedByIso13400_00 = 0,
ReservedByIso13400_01 = 1,
InvalidSourceAddress = 2,
UnknownTargetAddress = 3,
DiagnosticMessageTooLarge = 4,
OutOfMemory = 5,
TargetUnreachable = 6,
UnknownNetwork = 7,
TransportProtocolError = 8,
}Expand description
Available negative acknowledgement codes for DiagnosticMessageAck.
Negative acknowledgement codes from the result of a sent DiagnosticMessage.
Variants§
ReservedByIso13400_00 = 0
Reserved By ISO-13400 for bytes value 00
ReservedByIso13400_01 = 1
Reserved By ISO-13400 for bytes value 01
InvalidSourceAddress = 2
Invalid Source Address
UnknownTargetAddress = 3
Unknown Target Address
DiagnosticMessageTooLarge = 4
Diagnostic Message Too Large
OutOfMemory = 5
Out Of Memory
TargetUnreachable = 6
Target Unreachable
UnknownNetwork = 7
Unknown Network
TransportProtocolError = 8
Transport Protocol Error
Trait Implementations§
Source§impl Clone for DiagnosticNackCode
impl Clone for DiagnosticNackCode
Source§fn clone(&self) -> DiagnosticNackCode
fn clone(&self) -> DiagnosticNackCode
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 DiagnosticNackCode
impl Debug for DiagnosticNackCode
Source§impl From<DiagnosticNackCode> for u8
impl From<DiagnosticNackCode> for u8
Source§fn from(value: DiagnosticNackCode) -> Self
fn from(value: DiagnosticNackCode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DiagnosticNackCode
impl PartialEq for DiagnosticNackCode
Source§impl TryFrom<&u8> for DiagnosticNackCode
impl TryFrom<&u8> for DiagnosticNackCode
impl Copy for DiagnosticNackCode
impl StructuralPartialEq for DiagnosticNackCode
Auto Trait Implementations§
impl Freeze for DiagnosticNackCode
impl RefUnwindSafe for DiagnosticNackCode
impl Send for DiagnosticNackCode
impl Sync for DiagnosticNackCode
impl Unpin for DiagnosticNackCode
impl UnsafeUnpin for DiagnosticNackCode
impl UnwindSafe for DiagnosticNackCode
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