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§
impl Copy for NetstackManagedRoutesDesignation
impl Eq for NetstackManagedRoutesDesignation
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.
impl StructuralPartialEq for NetstackManagedRoutesDesignation
Source§impl TryFrom<NetstackManagedRoutesDesignation> for NetstackManagedRoutesDesignation
impl TryFrom<NetstackManagedRoutesDesignation> 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 UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]