Struct netlink_packet_sock_diag::unix::nlas::VfsBuffer
source · pub struct VfsBuffer<T> { /* private fields */ }
Implementations§
source§impl<T: AsRef<[u8]>> VfsBuffer<T>
impl<T: AsRef<[u8]>> VfsBuffer<T>
pub fn new(buffer: T) -> Self
pub fn into_inner(self) -> T
Trait Implementations§
source§impl<T: PartialEq> PartialEq for VfsBuffer<T>
impl<T: PartialEq> PartialEq for VfsBuffer<T>
impl<T: Copy> Copy for VfsBuffer<T>
impl<T: Eq> Eq for VfsBuffer<T>
impl<T> StructuralPartialEq for VfsBuffer<T>
Auto Trait Implementations§
impl<T> Freeze for VfsBuffer<T>where
T: Freeze,
impl<T> RefUnwindSafe for VfsBuffer<T>where
T: RefUnwindSafe,
impl<T> Send for VfsBuffer<T>where
T: Send,
impl<T> Sync for VfsBuffer<T>where
T: Sync,
impl<T> Unpin for VfsBuffer<T>where
T: Unpin,
impl<T> UnwindSafe for VfsBuffer<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