Trait tcpserver::ITCPServer [−][src]
Required methods
#[must_use]fn start<'life0, 'async_trait>(
&'life0 self,
token: T
) -> Pin<Box<dyn Future<Output = AResult<JoinHandle<Result<()>>>> + Send + Sync + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
token: T
) -> Pin<Box<dyn Future<Output = AResult<JoinHandle<Result<()>>>> + Send + Sync + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn start_block<'life0, 'async_trait>(
&'life0 self,
token: T
) -> Pin<Box<dyn Future<Output = Result<(), Box<dyn Error>>> + Send + Sync + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
token: T
) -> Pin<Box<dyn Future<Output = Result<(), Box<dyn Error>>> + Send + Sync + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Implementations on Foreign Types
impl<I, R, T> ITCPServer<T> for Actor<TCPServer<I, R, T>> where
I: Fn(OwnedReadHalf, Arc<Actor<TCPPeer>>, T) -> R + Send + Sync + 'static,
R: Future<Output = ()> + Send + 'static,
T: Clone + Send + Sync + 'static,
[src]
I: Fn(OwnedReadHalf, Arc<Actor<TCPPeer>>, T) -> R + Send + Sync + 'static,
R: Future<Output = ()> + Send + 'static,
T: Clone + Send + Sync + 'static,
fn start<'life0, 'async_trait>(
&'life0 self,
token: T
) -> Pin<Box<dyn Future<Output = AResult<JoinHandle<Result<()>>>> + Send + Sync + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
token: T
) -> Pin<Box<dyn Future<Output = AResult<JoinHandle<Result<()>>>> + Send + Sync + '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<(), Box<dyn Error>>> + Send + Sync + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
token: T
) -> Pin<Box<dyn Future<Output = Result<(), Box<dyn Error>>> + Send + Sync + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,