pub struct DecodedNpdu {
pub is_network_message: bool,
pub source_network: Option<u16>,
pub dest_network: Option<u16>,
pub network_message_type: Option<u8>,
pub broadcast: bool,
pub apdu: Option<DecodedApdu>,
}Expand description
Decoded network layer.
Fields§
§is_network_message: boolA network-layer message rather than an APDU.
source_network: Option<u16>SNET, when a router added one.
dest_network: Option<u16>DNET, for a routed or globally broadcast NPDU.
network_message_type: Option<u8>The network-layer message type, for a network message.
broadcast: boolA DNET with an empty DADR: a broadcast on that network, or a global one.
apdu: Option<DecodedApdu>The APDU, unless this is a network message or carries none.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DecodedNpdu
impl RefUnwindSafe for DecodedNpdu
impl Send for DecodedNpdu
impl Sync for DecodedNpdu
impl Unpin for DecodedNpdu
impl UnsafeUnpin for DecodedNpdu
impl UnwindSafe for DecodedNpdu
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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