pub struct RejectMessageReason(/* private fields */);Expand description
Reject-Message-To-Network reason codes (Clause 6.4.4).
Implementations§
Source§impl RejectMessageReason
impl RejectMessageReason
Sourcepub const NOT_DIRECTLY_CONNECTED: Self
pub const NOT_DIRECTLY_CONNECTED: Self
Wire value 1.
Sourcepub const ROUTER_BUSY: Self
pub const ROUTER_BUSY: Self
Wire value 2.
Sourcepub const UNKNOWN_MESSAGE_TYPE: Self
pub const UNKNOWN_MESSAGE_TYPE: Self
Wire value 3.
Sourcepub const MESSAGE_TOO_LONG: Self
pub const MESSAGE_TOO_LONG: Self
Wire value 4.
Sourcepub const ADDRESSING_ERROR: Self
pub const ADDRESSING_ERROR: Self
Wire value 6.
Trait Implementations§
Source§impl Clone for RejectMessageReason
impl Clone for RejectMessageReason
impl Copy for RejectMessageReason
Source§impl Debug for RejectMessageReason
impl Debug for RejectMessageReason
Source§impl Display for RejectMessageReason
impl Display for RejectMessageReason
impl Eq for RejectMessageReason
Source§impl FromStr for RejectMessageReason
impl FromStr for RejectMessageReason
Source§fn from_str(s: &str) -> Result<Self, Self::Err>
fn from_str(s: &str) -> Result<Self, Self::Err>
Parse a symbolic constant name, ignoring _/- separators and
ASCII case, so every common spelling of a name is accepted
(ANALOG_INPUT, analog-input, AnalogInput, analogInput, …).
Raw numeric values are not accepted; use
from_raw for those.
Source§type Err = ParseEnumError
type Err = ParseEnumError
The associated error which can be returned from parsing.
Source§impl Hash for RejectMessageReason
impl Hash for RejectMessageReason
Source§impl PartialEq for RejectMessageReason
impl PartialEq for RejectMessageReason
impl StructuralPartialEq for RejectMessageReason
Auto Trait Implementations§
impl Freeze for RejectMessageReason
impl RefUnwindSafe for RejectMessageReason
impl Send for RejectMessageReason
impl Sync for RejectMessageReason
impl Unpin for RejectMessageReason
impl UnsafeUnpin for RejectMessageReason
impl UnwindSafe for RejectMessageReason
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