pub struct RIP {
pub remote: Ipv4Addr,
pub local: Ipv4Addr,
pub message: Vec<u8>,
}
Expand description
The RIP struct represents the data contained in an MRT record type of RIP.
Fields§
§remote: Ipv4Addr
The IPv4 address of the router from which this message was received.
local: Ipv4Addr
The IPv4 address of the interface at which this message was received.
message: Vec<u8>
The message that has been received.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RIP
impl RefUnwindSafe for RIP
impl Send for RIP
impl Sync for RIP
impl Unpin for RIP
impl UnwindSafe for RIP
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