pub enum VpnAddressFamily {
V4,
V6,
}Expand description
VPN address family carried by a VPNv4/VPNv6 NLRI.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for VpnAddressFamily
impl Clone for VpnAddressFamily
Source§fn clone(&self) -> VpnAddressFamily
fn clone(&self) -> VpnAddressFamily
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 moreimpl Copy for VpnAddressFamily
Source§impl Debug for VpnAddressFamily
impl Debug for VpnAddressFamily
Source§impl Display for VpnAddressFamily
impl Display for VpnAddressFamily
impl Eq for VpnAddressFamily
Source§impl Hash for VpnAddressFamily
impl Hash for VpnAddressFamily
Source§impl Ord for VpnAddressFamily
impl Ord for VpnAddressFamily
Source§fn cmp(&self, other: &VpnAddressFamily) -> Ordering
fn cmp(&self, other: &VpnAddressFamily) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for VpnAddressFamily
impl PartialEq for VpnAddressFamily
Source§fn eq(&self, other: &VpnAddressFamily) -> bool
fn eq(&self, other: &VpnAddressFamily) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for VpnAddressFamily
impl PartialOrd for VpnAddressFamily
impl StructuralPartialEq for VpnAddressFamily
Auto Trait Implementations§
impl Freeze for VpnAddressFamily
impl RefUnwindSafe for VpnAddressFamily
impl Send for VpnAddressFamily
impl Sync for VpnAddressFamily
impl Unpin for VpnAddressFamily
impl UnsafeUnpin for VpnAddressFamily
impl UnwindSafe for VpnAddressFamily
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