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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)