pub struct RouteNetlinkMessageBuffer<T> { /* private fields */ }
Implementations§
source§impl<T: AsRef<[u8]>> RouteNetlinkMessageBuffer<T>
impl<T: AsRef<[u8]>> RouteNetlinkMessageBuffer<T>
pub fn new(buffer: T) -> Self
pub fn into_inner(self) -> T
Trait Implementations§
source§impl<T: Clone> Clone for RouteNetlinkMessageBuffer<T>
impl<T: Clone> Clone for RouteNetlinkMessageBuffer<T>
source§fn clone(&self) -> RouteNetlinkMessageBuffer<T>
fn clone(&self) -> RouteNetlinkMessageBuffer<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<T: Debug> Debug for RouteNetlinkMessageBuffer<T>
impl<T: Debug> Debug for RouteNetlinkMessageBuffer<T>
source§impl<'a, T: AsRef<[u8]> + ?Sized> ParseableParametrized<RouteNetlinkMessageBuffer<&'a T>, u16> for RouteNetlinkMessage
impl<'a, T: AsRef<[u8]> + ?Sized> ParseableParametrized<RouteNetlinkMessageBuffer<&'a T>, u16> for RouteNetlinkMessage
source§fn parse_with_param(
buf: &RouteNetlinkMessageBuffer<&'a T>,
message_type: u16
) -> Result<Self, DecodeError>
fn parse_with_param( buf: &RouteNetlinkMessageBuffer<&'a T>, message_type: u16 ) -> Result<Self, DecodeError>
Deserialize the current type.
source§impl<T: PartialEq> PartialEq for RouteNetlinkMessageBuffer<T>
impl<T: PartialEq> PartialEq for RouteNetlinkMessageBuffer<T>
source§fn eq(&self, other: &RouteNetlinkMessageBuffer<T>) -> bool
fn eq(&self, other: &RouteNetlinkMessageBuffer<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<T: Copy> Copy for RouteNetlinkMessageBuffer<T>
impl<T: Eq> Eq for RouteNetlinkMessageBuffer<T>
impl<T> StructuralEq for RouteNetlinkMessageBuffer<T>
impl<T> StructuralPartialEq for RouteNetlinkMessageBuffer<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for RouteNetlinkMessageBuffer<T>where
T: RefUnwindSafe,
impl<T> Send for RouteNetlinkMessageBuffer<T>where
T: Send,
impl<T> Sync for RouteNetlinkMessageBuffer<T>where
T: Sync,
impl<T> Unpin for RouteNetlinkMessageBuffer<T>where
T: Unpin,
impl<T> UnwindSafe for RouteNetlinkMessageBuffer<T>where
T: UnwindSafe,
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