pub trait IWebSocketServer<T> {
    fn start<'life0, 'async_trait>(
        &'life0 self,
        token: T
    ) -> Pin<Box<dyn Future<Output = Result<JoinHandle<Result<()>>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn start_block<'life0, 'async_trait>(
        &'life0 self,
        token: T
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Required Methods

Implementations on Foreign Types

Implementors