Struct simple_dns::rdata::NSAP
source · 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: u8
Authority and Format Identifier
idi: u16
Initial Domain Identifier
dfi: u8
DSP Format Identifier
aa: u32
Administrative Authority
rsvd: u16
Reserved
rd: u16
Routing Domain Identifier
area: u16
Area Identifier
id: u64
System Identifier
sel: u8
NSAP 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§
source§impl PartialEq for NSAP
impl PartialEq for NSAP
impl Eq for NSAP
impl StructuralPartialEq for NSAP
Auto Trait Implementations§
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