pub enum ReadAction {
Read(usize, usize),
}Expand description
A reader operation executed by ReadChecker.
Variants§
Read(usize, usize)
Read size bytes beginning at offset.
The first field is the offset and the second field is the requested size. A reader can return fewer bytes at the end of an object.
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 · 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 ReadAction
impl Debug for ReadAction
Source§impl PartialEq for ReadAction
impl PartialEq for ReadAction
impl Copy for ReadAction
impl Eq 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.