pub enum Produced {
Whole,
Ret,
RetElems(usize),
}Expand description
The part of an output buffer a successful call wrote.
Variants§
Whole
All of it, when the call returned 0.
Ret
As many bytes as the call returned.
RetElems(usize)
As many elements of .0 bytes as the call returned.
Trait Implementations§
impl Copy for Produced
impl Eq for Produced
impl StructuralPartialEq for Produced
Auto Trait Implementations§
impl Freeze for Produced
impl RefUnwindSafe for Produced
impl Send for Produced
impl Sync for Produced
impl Unpin for Produced
impl UnsafeUnpin for Produced
impl UnwindSafe for Produced
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