pub enum ReadAction {
Read(usize, usize),
}Expand description
ReadAction represents a read action.
Variants§
Read(usize, usize)
Read represents a read action with given input buf size.
§NOTE
The size is the input buf size, it’s possible that the actual read size is smaller.
Trait Implementations§
Source§impl Clone for ReadAction
impl Clone for ReadAction
Source§fn clone(&self) -> ReadAction
fn clone(&self) -> ReadAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ReadAction
Source§impl Debug for ReadAction
impl Debug for ReadAction
impl Eq for ReadAction
Source§impl PartialEq for ReadAction
impl PartialEq for ReadAction
impl StructuralPartialEq for ReadAction
Auto Trait Implementations§
impl Freeze for ReadAction
impl RefUnwindSafe for ReadAction
impl Send for ReadAction
impl Sync for ReadAction
impl Unpin for ReadAction
impl UnsafeUnpin for ReadAction
impl UnwindSafe for ReadAction
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