Struct nvim_gtk::subscriptions::SubscriptionHandle[][src]

pub struct SubscriptionHandle {
    key: SubscriptionKey,
    index: usize,
}

A handle to identify a Subscription within the Subscriptions map.

Can be used to trigger the subscription manually even when the event was not triggered.

Could be used in the future to suspend individual subscriptions.

Fields

key: SubscriptionKeyindex: usize

Trait Implementations

impl Debug for SubscriptionHandle[src]

Auto Trait Implementations

impl RefUnwindSafe for SubscriptionHandle

impl Send for SubscriptionHandle

impl Sync for SubscriptionHandle

impl Unpin for SubscriptionHandle

impl UnwindSafe for SubscriptionHandle

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.