Enum base::sys::unix::sock_ctrl_msg::CmsgBuffer
source · enum CmsgBuffer {
Inline([u64; 18]),
Heap(Box<[cmsghdr]>),
}
Variants§
Implementations§
source§impl CmsgBuffer
impl CmsgBuffer
fn with_capacity(capacity: usize) -> CmsgBuffer
fn as_mut_ptr(&mut self) -> *mut cmsghdr
Auto Trait Implementations§
impl RefUnwindSafe for CmsgBuffer
impl Send for CmsgBuffer
impl Sync for CmsgBuffer
impl Unpin for CmsgBuffer
impl UnwindSafe for CmsgBuffer
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