pub struct DomainPathDomain {
pub global_admin: u32,
pub local_admin: u16,
pub isf_safi_type: u8,
}Expand description
One domain of a BGP Domain Path (D-PATH) attribute - RFC 10039
The Global/Local Administrator pair forms the 6-octet DOMAIN-ID; RFC 10039 §4 recommends reporting both parts as opaque unsigned integers.
Fields§
§global_admin: u324-octet Global Administrator (opaque; MAY carry an ASN or IPv4 address).
local_admin: u162-octet Local Administrator (opaque).
isf_safi_type: u81-octet ISF_SAFI_TYPE (0 = gateway PE local ISF route, 70 = EVPN, 128 = IPVPN).
Trait Implementations§
Source§impl Clone for DomainPathDomain
impl Clone for DomainPathDomain
Source§impl Debug for DomainPathDomain
impl Debug for DomainPathDomain
impl Eq for DomainPathDomain
Source§impl PartialEq for DomainPathDomain
impl PartialEq for DomainPathDomain
impl StructuralPartialEq for DomainPathDomain
Auto Trait Implementations§
impl Freeze for DomainPathDomain
impl RefUnwindSafe for DomainPathDomain
impl Send for DomainPathDomain
impl Sync for DomainPathDomain
impl Unpin for DomainPathDomain
impl UnsafeUnpin for DomainPathDomain
impl UnwindSafe for DomainPathDomain
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more