#[repr(u8)]pub enum DiagnosticNegativeCode {
InvalidSourceAddress = 2,
UnknownTargetAddress = 3,
DiagnosticMessageTooLarge = 4,
OutOfMemory = 5,
TargetUnreachable = 6,
UnknownNetwork = 7,
TransportProtocolError = 8,
Reserved(u8),
}Expand description
Table 26 — Diagnostic message negative acknowledge codes
Variants§
InvalidSourceAddress = 2
UnknownTargetAddress = 3
DiagnosticMessageTooLarge = 4
OutOfMemory = 5
TargetUnreachable = 6
UnknownNetwork = 7
TransportProtocolError = 8
Reserved(u8)
Trait Implementations§
Source§impl Clone for DiagnosticNegativeCode
impl Clone for DiagnosticNegativeCode
Source§fn clone(&self) -> DiagnosticNegativeCode
fn clone(&self) -> DiagnosticNegativeCode
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 DiagnosticNegativeCode
impl Debug for DiagnosticNegativeCode
Source§impl Display for DiagnosticNegativeCode
impl Display for DiagnosticNegativeCode
Source§impl From<DiagnosticNegativeCode> for u8
impl From<DiagnosticNegativeCode> for u8
Source§fn from(val: DiagnosticNegativeCode) -> Self
fn from(val: DiagnosticNegativeCode) -> Self
Converts to this type from the input type.
Source§impl From<u8> for DiagnosticNegativeCode
impl From<u8> for DiagnosticNegativeCode
Source§impl PartialEq for DiagnosticNegativeCode
impl PartialEq for DiagnosticNegativeCode
impl Copy for DiagnosticNegativeCode
impl Eq for DiagnosticNegativeCode
impl StructuralPartialEq for DiagnosticNegativeCode
Auto Trait Implementations§
impl Freeze for DiagnosticNegativeCode
impl RefUnwindSafe for DiagnosticNegativeCode
impl Send for DiagnosticNegativeCode
impl Sync for DiagnosticNegativeCode
impl Unpin for DiagnosticNegativeCode
impl UnwindSafe for DiagnosticNegativeCode
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