Struct tokio_io_utility::ReusableIoSlices
source · pub struct ReusableIoSlices { /* private fields */ }
Implementations§
source§impl ReusableIoSlices
impl ReusableIoSlices
sourcepub fn new(cap: NonZeroUsize) -> Self
pub fn new(cap: NonZeroUsize) -> Self
Create new ReusableIoSlices
.
sourcepub fn get_mut(&mut self) -> &mut [MaybeUninit<IoSlice<'_>>]
pub fn get_mut(&mut self) -> &mut [MaybeUninit<IoSlice<'_>>]
Return the underlying io_slices
sourcepub fn get(&self) -> &[MaybeUninit<IoSlice<'_>>]
pub fn get(&self) -> &[MaybeUninit<IoSlice<'_>>]
Return the underlying io_slices