pub struct ForwardingEntry {
pub subnet: Subnet,
pub device_id: u64,
pub next_hop: Option<IpAddress>,
pub metric: u32,
}
Fields§
§subnet: Subnet
§device_id: u64
§next_hop: Option<IpAddress>
§metric: u32
Trait Implementations§
Source§impl From<ForwardingEntry> for ForwardingEntry
impl From<ForwardingEntry> for ForwardingEntry
Source§fn from(forwarding_entry: ForwardingEntry) -> Self
fn from(forwarding_entry: ForwardingEntry) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ForwardingEntry
impl RefUnwindSafe for ForwardingEntry
impl Send for ForwardingEntry
impl Sync for ForwardingEntry
impl Unpin for ForwardingEntry
impl UnwindSafe for ForwardingEntry
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