#[repr(u8)]pub enum AddPathMode {
Receive = 1,
Send = 2,
Both = 3,
}Expand description
Add-Path send/receive mode per AFI/SAFI (RFC 7911 §4).
Variants§
Receive = 1
Peer can receive multiple paths.
Send = 2
Peer can send multiple paths.
Both = 3
Peer can both send and receive multiple paths.
Implementations§
Trait Implementations§
Source§impl Clone for AddPathMode
impl Clone for AddPathMode
Source§fn clone(&self) -> AddPathMode
fn clone(&self) -> AddPathMode
Returns a duplicate of the value. Read more
1.0.0 · 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 AddPathMode
impl Debug for AddPathMode
Source§impl Hash for AddPathMode
impl Hash for AddPathMode
Source§impl PartialEq for AddPathMode
impl PartialEq for AddPathMode
impl Copy for AddPathMode
impl Eq for AddPathMode
impl StructuralPartialEq for AddPathMode
Auto Trait Implementations§
impl Freeze for AddPathMode
impl RefUnwindSafe for AddPathMode
impl Send for AddPathMode
impl Sync for AddPathMode
impl Unpin for AddPathMode
impl UnsafeUnpin for AddPathMode
impl UnwindSafe for AddPathMode
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