enum ReadStrategy {
Adaptive {
decrease_now: bool,
next: usize,
max: usize,
},
Exact(usize),
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for ReadStrategy
impl Clone for ReadStrategy
source§fn clone(&self) -> ReadStrategy
fn clone(&self) -> ReadStrategy
Returns a copy 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 ReadStrategy
impl Debug for ReadStrategy
source§impl Default for ReadStrategy
impl Default for ReadStrategy
source§fn default() -> ReadStrategy
fn default() -> ReadStrategy
Returns the “default value” for a type. Read more
impl Copy for ReadStrategy
Auto Trait Implementations§
impl Freeze for ReadStrategy
impl RefUnwindSafe for ReadStrategy
impl Send for ReadStrategy
impl Sync for ReadStrategy
impl Unpin for ReadStrategy
impl UnwindSafe for ReadStrategy
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