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 RefUnwindSafe for ForwardingEntry
impl Send for ForwardingEntry
impl Sync for ForwardingEntry
impl Unpin for ForwardingEntry
impl UnwindSafe for ForwardingEntry
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
impl<T, U> TryIntoExt<U> for Twhere U: TryFromExt<T>,
type Error = <U as TryFromExt<T>>::Error
§fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
Tries to perform the conversion.