Trait binance_api_async::userstream::UserStreamAsync [−][src]
pub trait UserStreamAsync { #[must_use] fn subscribe<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Uuid, BinanceErr>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; fn unsubscribe(&mut self, uuid: Uuid) -> Option<StoredStream>; }
Required methods
#[must_use]fn subscribe<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Uuid, BinanceErr>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
#[must_use]
fn subscribe<'life0, 'async_trait>(&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Uuid, BinanceErr>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn unsubscribe(&mut self, uuid: Uuid) -> Option<StoredStream>
[src]
Implementors
impl UserStreamAsync for UserStream
[src]
impl UserStreamAsync for UserStream
[src]fn subscribe<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Uuid, BinanceErr>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Uuid, BinanceErr>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,