pub enum RouteFamily {
Ipv4,
Ipv6,
}Expand description
IP version of a routing table entry.
Variants§
Trait Implementations§
Source§impl Clone for RouteFamily
impl Clone for RouteFamily
Source§fn clone(&self) -> RouteFamily
fn clone(&self) -> RouteFamily
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 RouteFamily
impl Debug for RouteFamily
Source§impl Display for RouteFamily
impl Display for RouteFamily
Source§impl PartialEq for RouteFamily
impl PartialEq for RouteFamily
impl Copy for RouteFamily
impl Eq for RouteFamily
impl StructuralPartialEq for RouteFamily
Auto Trait Implementations§
impl Freeze for RouteFamily
impl RefUnwindSafe for RouteFamily
impl Send for RouteFamily
impl Sync for RouteFamily
impl Unpin for RouteFamily
impl UnwindSafe for RouteFamily
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