pub struct SubscriptionToken { /* private fields */ }Expand description
Opaque handle returned by EventHubClient::subscribe. Dropping it removes
the associated callback from the subscribers map; the origin’s entry is
removed entirely when its last subscriber goes away.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SubscriptionToken
impl RefUnwindSafe for SubscriptionToken
impl Send for SubscriptionToken
impl Sync for SubscriptionToken
impl Unpin for SubscriptionToken
impl UnsafeUnpin for SubscriptionToken
impl UnwindSafe for SubscriptionToken
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