pub struct SubscriptionHandle {
key: SubscriptionKey,
index: usize,
}
Expand description
A handle to identify a Subscription
within the Subscriptions
map.
Can be used to trigger the subscription manually even when the event was not triggered.
Could be used in the future to suspend individual subscriptions.
Fields§
§key: SubscriptionKey
§index: usize
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SubscriptionHandle
impl RefUnwindSafe for SubscriptionHandle
impl Send for SubscriptionHandle
impl Sync for SubscriptionHandle
impl Unpin for SubscriptionHandle
impl UnwindSafe 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