pub struct SubscriptionHandle { /* private fields */ }Expand description
RAII handle returned from Station::subscribe. Dropping releases the
per-StreamKey consumer ref count; when count hits zero the multiplexer
shuts down.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SubscriptionHandle
impl !UnwindSafe for SubscriptionHandle
impl Freeze for SubscriptionHandle
impl Send for SubscriptionHandle
impl Sync for SubscriptionHandle
impl Unpin for SubscriptionHandle
impl UnsafeUnpin for SubscriptionHandle
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