[][src]Struct refreshable::Subscription

#[must_use =
  "the associated subscription is unregistered when this value is dropped"]pub struct Subscription<T, E> { /* fields omitted */ }

A subscription to a Refreshable value.

The associated subscription is unregistered when this value is dropped, unless the Subscription::leak method is used.

Implementations

impl<T, E> Subscription<T, E>[src]

pub fn leak(mut self: Self)[src]

Destroys the guard without unregistering its associated subscription.

Trait Implementations

impl<T, E> Drop for Subscription<T, E>[src]

Auto Trait Implementations

impl<T, E> !RefUnwindSafe for Subscription<T, E>[src]

impl<T, E> Send for Subscription<T, E> where
    T: Send + Sync
[src]

impl<T, E> Sync for Subscription<T, E> where
    T: Send + Sync
[src]

impl<T, E> Unpin for Subscription<T, E>[src]

impl<T, E> !UnwindSafe for Subscription<T, E>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.