pub struct StdPolicy;
Expand description
Standard buffer policy: This policy corresponds to
DoubleUntil(8 * 1024 * 1024)
, meaning that buffer size
doubles until it reaches 8 MiB. Above, it will
increase in steps of 8 MiB. Buffer size is not limited,
it could theoretically grow indefinitely.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for StdPolicy
impl Send for StdPolicy
impl Sync for StdPolicy
impl Unpin for StdPolicy
impl UnwindSafe for StdPolicy
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