pub enum RouteFlag {
Up,
Gateway,
Host,
Link,
Reject,
Static,
Loopback,
Other(String),
}Expand description
Well-known routing flags.
Variants§
Up
Route is active.
Gateway
Route uses a gateway.
Host
Route targets a single host.
Link
Route is restricted to the local link.
Reject
Route rejects matching traffic.
Static
Route was statically installed.
Loopback
Route targets the loopback interface.
Other(String)
Platform-specific flag that is not covered by the predefined variants.
Trait Implementations§
impl Eq for RouteFlag
impl StructuralPartialEq for RouteFlag
Auto Trait Implementations§
impl Freeze for RouteFlag
impl RefUnwindSafe for RouteFlag
impl Send for RouteFlag
impl Sync for RouteFlag
impl Unpin for RouteFlag
impl UnwindSafe for RouteFlag
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