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