pub struct Capacity { /* private fields */ }Expand description
Stream capacity information
Implementations
Trait Implementations
sourceimpl AddAssign<Capacity> for Capacity
impl AddAssign<Capacity> for Capacity
Panics if capacity belongs to different streams
sourcefn add_assign(&mut self, other: Self)
fn add_assign(&mut self, other: Self)
Performs the += operation. Read more
Auto Trait Implementations
impl !RefUnwindSafe for Capacity
impl !Send for Capacity
impl !Sync for Capacity
impl Unpin for Capacity
impl !UnwindSafe for Capacity
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more