Struct ethane::Subscription [−][src]
pub struct Subscription<T: Subscribe + Request, U: DeserializeOwned + Debug> { pub id: U128, // some fields omitted }
An active subscription
Supports the real-time events namespace. Can be created by calling subscribe. In order to yield the next subscription item call next_item.
Fields
id: U128
The subscription id, which is returned when subscribing
Implementations
impl<T: Subscribe + Request, U: DeserializeOwned + Debug> Subscription<T, U>
[src]
impl<T: Subscribe + Request, U: DeserializeOwned + Debug> Subscription<T, U>
[src]Trait Implementations
impl<T: Subscribe + Request, U: DeserializeOwned + Debug> Drop for Subscription<T, U>
[src]
impl<T: Subscribe + Request, U: DeserializeOwned + Debug> Drop for Subscription<T, U>
[src]Auto Trait Implementations
impl<T, U> RefUnwindSafe for Subscription<T, U> where
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, U> RefUnwindSafe for Subscription<T, U> where
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, U> Send for Subscription<T, U> where
T: Send,
U: Send,
impl<T, U> Send for Subscription<T, U> where
T: Send,
U: Send,
impl<T, U> Sync for Subscription<T, U> where
T: Sync,
U: Sync,
impl<T, U> Sync for Subscription<T, U> where
T: Sync,
U: Sync,
impl<T, U> Unpin for Subscription<T, U> where
T: Unpin,
U: Unpin,
impl<T, U> Unpin for Subscription<T, U> where
T: Unpin,
U: Unpin,
impl<T, U> UnwindSafe for Subscription<T, U> where
T: UnwindSafe,
U: UnwindSafe,
impl<T, U> UnwindSafe for Subscription<T, U> where
T: UnwindSafe,
U: UnwindSafe,