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]

fn unsubscribe(&mut self, uuid: Uuid) -> Option<StoredStream>[src]

Loading content...

Implementors

impl UserStreamAsync for UserStream[src]

Loading content...