pub struct OrfCapEntry {
pub afi: Afi,
pub safi: Safi,
pub orf_types: Vec<OrfCapType>,
}Expand description
One per-(AFI,SAFI) block of the ORF capability value (RFC 5291 §4).
Fields§
§afi: AfiAddress family.
safi: SafiSub-address family.
orf_types: Vec<OrfCapType>The ORF-Types advertised for this family, with their Send/Receive roles.
Trait Implementations§
Source§impl Clone for OrfCapEntry
impl Clone for OrfCapEntry
Source§fn clone(&self) -> OrfCapEntry
fn clone(&self) -> OrfCapEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OrfCapEntry
impl Debug for OrfCapEntry
impl Eq for OrfCapEntry
Source§impl PartialEq for OrfCapEntry
impl PartialEq for OrfCapEntry
Source§fn eq(&self, other: &OrfCapEntry) -> bool
fn eq(&self, other: &OrfCapEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OrfCapEntry
Auto Trait Implementations§
impl Freeze for OrfCapEntry
impl RefUnwindSafe for OrfCapEntry
impl Send for OrfCapEntry
impl Sync for OrfCapEntry
impl Unpin for OrfCapEntry
impl UnsafeUnpin for OrfCapEntry
impl UnwindSafe for OrfCapEntry
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