pub struct Capacity { /* private fields */ }
Expand description
Stream capacity information
Implementations§
Trait Implementations§
Source§impl AddAssign for Capacity
Panics if capacity belongs to different streams
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 !Freeze for Capacity
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