Struct netlink_packet_route::link::VfInfoMacBuffer
source · pub struct VfInfoMacBuffer<T> { /* private fields */ }
Implementations§
source§impl<T: AsRef<[u8]>> VfInfoMacBuffer<T>
impl<T: AsRef<[u8]>> VfInfoMacBuffer<T>
pub fn new(buffer: T) -> Self
pub fn into_inner(self) -> T
source§impl<T: AsRef<[u8]>> VfInfoMacBuffer<T>
impl<T: AsRef<[u8]>> VfInfoMacBuffer<T>
pub fn new_checked(buffer: T) -> Result<Self, DecodeError>
Trait Implementations§
source§impl<T: Clone> Clone for VfInfoMacBuffer<T>
impl<T: Clone> Clone for VfInfoMacBuffer<T>
source§fn clone(&self) -> VfInfoMacBuffer<T>
fn clone(&self) -> VfInfoMacBuffer<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 VfInfoMacBuffer<T>
impl<T: Debug> Debug for VfInfoMacBuffer<T>
source§impl<'a, T: AsRef<[u8]> + ?Sized> Parseable<VfInfoMacBuffer<&'a T>> for VfInfoMac
impl<'a, T: AsRef<[u8]> + ?Sized> Parseable<VfInfoMacBuffer<&'a T>> for VfInfoMac
source§fn parse(buf: &VfInfoMacBuffer<&T>) -> Result<Self, DecodeError>
fn parse(buf: &VfInfoMacBuffer<&T>) -> Result<Self, DecodeError>
Deserialize the current type.
source§impl<T: PartialEq> PartialEq for VfInfoMacBuffer<T>
impl<T: PartialEq> PartialEq for VfInfoMacBuffer<T>
impl<T: Copy> Copy for VfInfoMacBuffer<T>
impl<T: Eq> Eq for VfInfoMacBuffer<T>
impl<T> StructuralPartialEq for VfInfoMacBuffer<T>
Auto Trait Implementations§
impl<T> Freeze for VfInfoMacBuffer<T>where
T: Freeze,
impl<T> RefUnwindSafe for VfInfoMacBuffer<T>where
T: RefUnwindSafe,
impl<T> Send for VfInfoMacBuffer<T>where
T: Send,
impl<T> Sync for VfInfoMacBuffer<T>where
T: Sync,
impl<T> Unpin for VfInfoMacBuffer<T>where
T: Unpin,
impl<T> UnwindSafe for VfInfoMacBuffer<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
)