pub struct RipRoute {
pub destination: Ipv4Address,
pub prefix_len: u8,
pub next_hop: Ipv4Address,
pub metric: u32,
pub route_tag: u16,
pub last_update: u64,
pub garbage: bool,
pub source: Ipv4Address,
}Expand description
Internal route entry stored in the daemon’s table
Fields§
§destination: Ipv4AddressDestination network address
prefix_len: u8Prefix length (e.g. 24 for /24)
next_hop: Ipv4AddressNext hop router
metric: u32Metric (hop count, 1-16)
route_tag: u16Route tag
last_update: u64Tick when this route was last updated
garbage: boolWhether route is in garbage collection state
source: Ipv4AddressSource router that advertised this route
Trait Implementations§
impl Eq for RipRoute
impl StructuralPartialEq for RipRoute
Auto Trait Implementations§
impl Freeze for RipRoute
impl RefUnwindSafe for RipRoute
impl Send for RipRoute
impl Sync for RipRoute
impl Unpin for RipRoute
impl UnwindSafe for RipRoute
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)