pub struct Backpressure { /* private fields */ }Expand description
Backpressure signal for flow control
Implementations§
Source§impl Backpressure
impl Backpressure
Sourcepub fn try_reserve(&self, amount: u32) -> bool
pub fn try_reserve(&self, amount: u32) -> bool
Try to reserve capacity, returns true if successful
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Backpressure
impl RefUnwindSafe for Backpressure
impl Send for Backpressure
impl Sync for Backpressure
impl Unpin for Backpressure
impl UnsafeUnpin for Backpressure
impl UnwindSafe for Backpressure
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