pub struct MultiHeaders<S> { /* private fields */ }
Implementations§
source§impl<S> MultiHeaders<S>
impl<S> MultiHeaders<S>
sourcepub fn preallocate(num_slices: usize, cmsg_buffer: Option<Vec<u8>>) -> Selfwhere
S: Copy + SockaddrLike,
pub fn preallocate(num_slices: usize, cmsg_buffer: Option<Vec<u8>>) -> Selfwhere
S: Copy + SockaddrLike,
Preallocate structure used by recvmmsg
and sendmmsg
takes number of headers to preallocate
cmsg_buffer
should be created with cmsg_space!
if needed
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for MultiHeaders<S>
impl<S> RefUnwindSafe for MultiHeaders<S>where
S: RefUnwindSafe,
impl<S> !Send for MultiHeaders<S>
impl<S> !Sync for MultiHeaders<S>
impl<S> Unpin for MultiHeaders<S>
impl<S> UnwindSafe for MultiHeaders<S>where
S: 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