Struct virtual_net::IpRoute
source · pub struct IpRoute {
pub cidr: IpCidr,
pub via_router: IpAddr,
pub preferred_until: Option<Duration>,
pub expires_at: Option<Duration>,
}
Expand description
Represents a routing entry in the routing table of the interface
Fields§
§cidr: IpCidr
§via_router: IpAddr
§preferred_until: Option<Duration>
§expires_at: Option<Duration>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for IpRoute
impl Send for IpRoute
impl Sync for IpRoute
impl Unpin for IpRoute
impl UnwindSafe for IpRoute
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