pub enum NetstackManagedRoutesDesignation {
Main,
InterfaceLocal,
}
Expand description
This can be provided on interface creation to appoint a route table into which netstack managed routes are installed.
Variants§
Main
The netstack managed routes are installed in the main table.
InterfaceLocal
The netstack managed routes are installed in an interface-local table.
The interface creates local tables (one for each IP version). When the
interface is removed and all the outstanding RouteTableV{4,6}
protocol
channels are closed, the local table is removed.
Trait Implementations§
Source§impl Clone for NetstackManagedRoutesDesignation
impl Clone for NetstackManagedRoutesDesignation
Source§fn clone(&self) -> NetstackManagedRoutesDesignation
fn clone(&self) -> NetstackManagedRoutesDesignation
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 Default for NetstackManagedRoutesDesignation
impl Default for NetstackManagedRoutesDesignation
Source§fn default() -> NetstackManagedRoutesDesignation
fn default() -> NetstackManagedRoutesDesignation
Returns the “default value” for a type. Read more
Source§impl From<NetstackManagedRoutesDesignation> for NetstackManagedRoutesDesignation
impl From<NetstackManagedRoutesDesignation> for NetstackManagedRoutesDesignation
Source§fn from(value: NetstackManagedRoutesDesignation) -> Self
fn from(value: NetstackManagedRoutesDesignation) -> Self
Converts to this type from the input type.
Source§impl PartialEq for NetstackManagedRoutesDesignation
impl PartialEq for NetstackManagedRoutesDesignation
Source§fn eq(&self, other: &NetstackManagedRoutesDesignation) -> bool
fn eq(&self, other: &NetstackManagedRoutesDesignation) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl TryFrom<NetstackManagedRoutesDesignation> for NetstackManagedRoutesDesignation
impl TryFrom<NetstackManagedRoutesDesignation> for NetstackManagedRoutesDesignation
Source§type Error = UnknownNetstackManagedRoutesDesignation
type Error = UnknownNetstackManagedRoutesDesignation
The type returned in the event of a conversion error.
impl Copy for NetstackManagedRoutesDesignation
impl Eq for NetstackManagedRoutesDesignation
impl StructuralPartialEq for NetstackManagedRoutesDesignation
Auto Trait Implementations§
impl Freeze for NetstackManagedRoutesDesignation
impl RefUnwindSafe for NetstackManagedRoutesDesignation
impl Send for NetstackManagedRoutesDesignation
impl Sync for NetstackManagedRoutesDesignation
impl Unpin for NetstackManagedRoutesDesignation
impl UnwindSafe for NetstackManagedRoutesDesignation
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