pub struct NSAP {
pub afi: u8,
pub idi: u16,
pub dfi: u8,
pub aa: u32,
pub rsvd: u16,
pub rd: u16,
pub area: u16,
pub id: u64,
pub sel: u8,
}Expand description
NSAP structure RFC 1706
ATTENTION: this code doesn’t validade the content of the NSAP RR, it just split the bytes in the correct order
Fields§
§afi: u8Authority and Format Identifier
idi: u16Initial Domain Identifier
dfi: u8DSP Format Identifier
aa: u32Administrative Authority
rsvd: u16Reserved
rd: u16Routing Domain Identifier
area: u16Area Identifier
id: u64System Identifier
sel: u8NSAP Selector
Implementations§
Source§impl NSAP
impl NSAP
Sourcepub fn into_owned(self) -> Self
pub fn into_owned(self) -> Self
Transforms the inner data into its owned type
Trait Implementations§
impl Eq for NSAP
impl StructuralPartialEq for NSAP
Auto Trait Implementations§
impl Freeze for NSAP
impl RefUnwindSafe for NSAP
impl Send for NSAP
impl Sync for NSAP
impl Unpin for NSAP
impl UnwindSafe for NSAP
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