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