pub struct Capacity { /* private fields */ }Expand description
Stream capacity information
Implementations§
Trait Implementations§
source§impl AddAssign for Capacity
impl AddAssign for Capacity
Panics if capacity belongs to different streams
source§fn add_assign(&mut self, other: Self)
fn add_assign(&mut self, other: Self)
Performs the
+= operation. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for Capacity
impl !Send for Capacity
impl !Sync for Capacity
impl Unpin for Capacity
impl !UnwindSafe for Capacity
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