pub enum BufSize {
Default,
Fixed(usize),
ScaleOfCpus(f64),
Unbounded,
}Expand description
The buffer size determination strategy.
Variants§
Implementations§
Trait Implementations§
impl Copy for BufSize
impl StructuralPartialEq for BufSize
Auto Trait Implementations§
impl Freeze for BufSize
impl RefUnwindSafe for BufSize
impl Send for BufSize
impl Sync for BufSize
impl Unpin for BufSize
impl UnsafeUnpin for BufSize
impl UnwindSafe for BufSize
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