pub struct AtomicWriteIoSlices<'a, 'b>(/* private fields */);
Expand description
IoSlice
s that can be written atomically
Implementations§
Source§impl<'a, 'b> AtomicWriteIoSlices<'a, 'b>
impl<'a, 'b> AtomicWriteIoSlices<'a, 'b>
Sourcepub fn new(buffers: &'a [IoSlice<'b>]) -> Option<Self>
pub fn new(buffers: &'a [IoSlice<'b>]) -> Option<Self>
If total length is more than PIPE_BUF, then return None.
pub fn get_total_len(self) -> usize
pub fn into_inner(self) -> &'a [IoSlice<'b>]
Trait Implementations§
Source§impl<'a, 'b> Clone for AtomicWriteIoSlices<'a, 'b>
impl<'a, 'b> Clone for AtomicWriteIoSlices<'a, 'b>
Source§fn clone(&self) -> AtomicWriteIoSlices<'a, 'b>
fn clone(&self) -> AtomicWriteIoSlices<'a, 'b>
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<'a, 'b> Debug for AtomicWriteIoSlices<'a, 'b>
impl<'a, 'b> Debug for AtomicWriteIoSlices<'a, 'b>
impl<'a, 'b> Copy for AtomicWriteIoSlices<'a, 'b>
Auto Trait Implementations§
impl<'a, 'b> Freeze for AtomicWriteIoSlices<'a, 'b>
impl<'a, 'b> RefUnwindSafe for AtomicWriteIoSlices<'a, 'b>
impl<'a, 'b> Send for AtomicWriteIoSlices<'a, 'b>
impl<'a, 'b> Sync for AtomicWriteIoSlices<'a, 'b>
impl<'a, 'b> Unpin for AtomicWriteIoSlices<'a, 'b>
impl<'a, 'b> UnwindSafe for AtomicWriteIoSlices<'a, 'b>
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