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