#[non_exhaustive]pub struct NeighbourMessage {
pub header: NeighbourHeader,
pub attributes: Vec<NeighbourAttribute>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.header: NeighbourHeader§attributes: Vec<NeighbourAttribute>Trait Implementations§
Source§impl Clone for NeighbourMessage
impl Clone for NeighbourMessage
Source§impl Debug for NeighbourMessage
impl Debug for NeighbourMessage
Source§impl Default for NeighbourMessage
impl Default for NeighbourMessage
Source§impl Emitable for NeighbourMessage
impl Emitable for NeighbourMessage
impl Eq for NeighbourMessage
Source§impl<'a, T: AsRef<[u8]> + 'a> ParseableParametrized<NeighbourMessageBuffer<&'a T>, RouteNetlinkMessageParseMode> for NeighbourMessage
impl<'a, T: AsRef<[u8]> + 'a> ParseableParametrized<NeighbourMessageBuffer<&'a T>, RouteNetlinkMessageParseMode> for NeighbourMessage
type Error = NeighbourError
Source§fn parse_with_param(
buf: &NeighbourMessageBuffer<&'a T>,
mode: RouteNetlinkMessageParseMode,
) -> Result<Self, NeighbourError>
fn parse_with_param( buf: &NeighbourMessageBuffer<&'a T>, mode: RouteNetlinkMessageParseMode, ) -> Result<Self, NeighbourError>
Deserialize the current type.
Source§impl PartialEq for NeighbourMessage
impl PartialEq for NeighbourMessage
impl StructuralPartialEq for NeighbourMessage
Auto Trait Implementations§
impl Freeze for NeighbourMessage
impl RefUnwindSafe for NeighbourMessage
impl Send for NeighbourMessage
impl Sync for NeighbourMessage
impl Unpin for NeighbourMessage
impl UnsafeUnpin for NeighbourMessage
impl UnwindSafe for NeighbourMessage
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