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