Struct netlink_packet_route::link::VfInfoBroadcastBuffer
source · pub struct VfInfoBroadcastBuffer<T> { /* private fields */ }
Implementations§
source§impl<T: AsRef<[u8]>> VfInfoBroadcastBuffer<T>
impl<T: AsRef<[u8]>> VfInfoBroadcastBuffer<T>
pub fn new(buffer: T) -> Self
pub fn into_inner(self) -> T
source§impl<T: AsRef<[u8]>> VfInfoBroadcastBuffer<T>
impl<T: AsRef<[u8]>> VfInfoBroadcastBuffer<T>
pub fn new_checked(buffer: T) -> Result<Self, DecodeError>
Trait Implementations§
source§impl<T: Clone> Clone for VfInfoBroadcastBuffer<T>
impl<T: Clone> Clone for VfInfoBroadcastBuffer<T>
source§fn clone(&self) -> VfInfoBroadcastBuffer<T>
fn clone(&self) -> VfInfoBroadcastBuffer<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 VfInfoBroadcastBuffer<T>
impl<T: Debug> Debug for VfInfoBroadcastBuffer<T>
source§impl<'a, T: AsRef<[u8]> + ?Sized> Parseable<VfInfoBroadcastBuffer<&'a T>> for VfInfoBroadcast
impl<'a, T: AsRef<[u8]> + ?Sized> Parseable<VfInfoBroadcastBuffer<&'a T>> for VfInfoBroadcast
source§fn parse(buf: &VfInfoBroadcastBuffer<&T>) -> Result<Self, DecodeError>
fn parse(buf: &VfInfoBroadcastBuffer<&T>) -> Result<Self, DecodeError>
Deserialize the current type.
source§impl<T: PartialEq> PartialEq for VfInfoBroadcastBuffer<T>
impl<T: PartialEq> PartialEq for VfInfoBroadcastBuffer<T>
source§fn eq(&self, other: &VfInfoBroadcastBuffer<T>) -> bool
fn eq(&self, other: &VfInfoBroadcastBuffer<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<T: Copy> Copy for VfInfoBroadcastBuffer<T>
impl<T: Eq> Eq for VfInfoBroadcastBuffer<T>
impl<T> StructuralEq for VfInfoBroadcastBuffer<T>
impl<T> StructuralPartialEq for VfInfoBroadcastBuffer<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for VfInfoBroadcastBuffer<T>where
T: RefUnwindSafe,
impl<T> Send for VfInfoBroadcastBuffer<T>where
T: Send,
impl<T> Sync for VfInfoBroadcastBuffer<T>where
T: Sync,
impl<T> Unpin for VfInfoBroadcastBuffer<T>where
T: Unpin,
impl<T> UnwindSafe for VfInfoBroadcastBuffer<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