pub struct RejectMessageToNetwork {
pub reason: RejectMessageReason,
pub dnet: u16,
}Expand description
Decoded payload of a Reject-Message-To-Network control message.
The enclosing NPDU identifies the network-message type; this type models only the fixed reason/DNET payload used by that message.
Fields§
§reason: RejectMessageReasonWhy the router rejected the message.
dnet: u16Destination network named by the rejection.
Trait Implementations§
Source§impl Clone for RejectMessageToNetwork
impl Clone for RejectMessageToNetwork
impl Copy for RejectMessageToNetwork
Source§impl Debug for RejectMessageToNetwork
impl Debug for RejectMessageToNetwork
impl Eq for RejectMessageToNetwork
Source§impl PartialEq for RejectMessageToNetwork
impl PartialEq for RejectMessageToNetwork
impl StructuralPartialEq for RejectMessageToNetwork
Auto Trait Implementations§
impl Freeze for RejectMessageToNetwork
impl RefUnwindSafe for RejectMessageToNetwork
impl Send for RejectMessageToNetwork
impl Sync for RejectMessageToNetwork
impl Unpin for RejectMessageToNetwork
impl UnsafeUnpin for RejectMessageToNetwork
impl UnwindSafe for RejectMessageToNetwork
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