pub struct StreamPermit { /* private fields */ }Expand description
One open change stream’s place in the ceiling.
Held by the stream and released when it is dropped — which is when the connection ends, however it ends: a client that goes away, a proxy that times out, or a process that shuts down all drop the response body, and the body owns this.
Trait Implementations§
Source§impl Debug for StreamPermit
impl Debug for StreamPermit
Source§impl Drop for StreamPermit
impl Drop for StreamPermit
Auto Trait Implementations§
impl Freeze for StreamPermit
impl RefUnwindSafe for StreamPermit
impl Send for StreamPermit
impl Sync for StreamPermit
impl Unpin for StreamPermit
impl UnsafeUnpin for StreamPermit
impl UnwindSafe for StreamPermit
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