pub struct RipEntry {
pub address_family: u16,
pub route_tag: u16,
pub ip_address: Ipv4Address,
pub subnet_mask: Ipv4Address,
pub next_hop: Ipv4Address,
pub metric: u32,
}Expand description
RIP v2 route entry (wire format)
Fields§
§address_family: u16Address family identifier (2 = IP)
route_tag: u16Route tag for EGP/IGP distinction
ip_address: Ipv4AddressDestination IP address
subnet_mask: Ipv4AddressSubnet mask
next_hop: Ipv4AddressNext hop address
metric: u32Metric (1-16, 16 = infinity)
Trait Implementations§
impl Copy for RipEntry
impl Eq for RipEntry
impl StructuralPartialEq for RipEntry
Auto Trait Implementations§
impl Freeze for RipEntry
impl RefUnwindSafe for RipEntry
impl Send for RipEntry
impl Sync for RipEntry
impl Unpin for RipEntry
impl UnwindSafe for RipEntry
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)