pub enum WriteAction {
Write(usize),
}Expand description
A writer operation used by write behavior tests.
Variants§
Write(usize)
Write a buffer with the given size.
A writer can accept the buffer incrementally even though the action supplies it as one logical chunk.
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
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.