pub struct SubscriptionHandle {
pub key: StateKey,
pub source_chain: ChainId,
/* private fields */
}Expand description
Handle to a running subscription polling loop.
Dropping or calling cancel stops the loop.
Fields§
§key: StateKey§source_chain: ChainIdImplementations§
Auto Trait Implementations§
impl Freeze for SubscriptionHandle
impl RefUnwindSafe for SubscriptionHandle
impl Send for SubscriptionHandle
impl Sync for SubscriptionHandle
impl Unpin for SubscriptionHandle
impl UnsafeUnpin 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