Trait tcpserver::ITCPServer
source · pub trait ITCPServer<T> {
// Required methods
fn start<'life0, 'async_trait>(
&'life0 self,
token: T
) -> Pin<Box<dyn Future<Output = Result<JoinHandle<Result<()>>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn start_block<'life0, 'async_trait>(
&'life0 self,
token: T
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}