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
type Error = RouteNetlinkMessageParseError
Source§fn parse_with_param(
buf: &RouteNetlinkMessageBuffer<&'a T>,
message_type: u16,
) -> Result<Self, Self::Error>
fn parse_with_param( buf: &RouteNetlinkMessageBuffer<&'a T>, message_type: u16, ) -> Result<Self, Self::Error>
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
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> StructuralPartialEq for RouteNetlinkMessageBuffer<T>
Auto Trait Implementations§
impl<T> Freeze for RouteNetlinkMessageBuffer<T>where
T: Freeze,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)