pub struct Subscription<T, E> { /* private fields */ }Expand description
A subscription to a Refreshable value.
The associated subscription is unregistered when this value is dropped, unless the Subscription::leak method is
used.
Implementations§
Source§impl<T, E> Subscription<T, E>
impl<T, E> Subscription<T, E>
Trait Implementations§
Auto Trait Implementations§
impl<T, E> Freeze for Subscription<T, E>
impl<T, E> !RefUnwindSafe for Subscription<T, E>
impl<T, E> Send for Subscription<T, E>
impl<T, E> Sync for Subscription<T, E>
impl<T, E> Unpin for Subscription<T, E>
impl<T, E> !UnwindSafe for Subscription<T, E>
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