Struct seq_io::policy::DoubleUntil
source · pub struct DoubleUntil(pub usize);
Expand description
Buffer size doubles until it reaches a given limit (in bytes). Above, it will increase linearly in steps of ‘limit’. Buffer size is not limited, it could theoretically grow indefinitely.
Tuple Fields§
§0: usize
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for DoubleUntil
impl Send for DoubleUntil
impl Sync for DoubleUntil
impl Unpin for DoubleUntil
impl UnwindSafe for DoubleUntil
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