Struct options::Subscription
source · pub struct Subscription<T>(/* private fields */);Expand description
Represents a change subscription.
Remarks
When the subscription is dropped, the underlying callback is unsubscribed.
Implementations§
Auto Trait Implementations§
impl<T> !RefUnwindSafe for Subscription<T>
impl<T> Send for Subscription<T>
impl<T> Sync for Subscription<T>
impl<T> Unpin for Subscription<T>
impl<T> !UnwindSafe for Subscription<T>
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