pub enum WriteAction {
Write(usize),
}Expand description
WriteAction represents a read action.
Variants§
Write(usize)
Write represents a write action with given input buf size.
§NOTE
The size is the input buf size, it’s possible that the actual write size is smaller.
Trait Implementations§
Source§impl Clone for WriteAction
impl Clone for WriteAction
Source§fn clone(&self) -> WriteAction
fn clone(&self) -> WriteAction
Returns a duplicate 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 Debug for WriteAction
impl Debug for WriteAction
Source§impl PartialEq for WriteAction
impl PartialEq for WriteAction
impl Eq for WriteAction
impl StructuralPartialEq for WriteAction
Auto Trait Implementations§
impl Freeze for WriteAction
impl RefUnwindSafe for WriteAction
impl Send for WriteAction
impl Sync for WriteAction
impl Unpin for WriteAction
impl UnsafeUnpin for WriteAction
impl UnwindSafe for WriteAction
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