Struct piface::gateway::DefaultRoute [−][src]
Expand description
This contains the gateway IP and interface name associated with the default route
Examples
use piface::DefaultRoute;
let default_route = DefaultRoute::load()?;
println!("{:#?}", default_route);
Fields
gateway: Option<String>
interface: Option<String>
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for DefaultRoute
impl Send for DefaultRoute
impl Sync for DefaultRoute
impl Unpin for DefaultRoute
impl UnwindSafe for DefaultRoute
Blanket Implementations
Mutably borrows from an owned value. Read more