Trait tcpserver::IPeer [−][src]
Required methods
fn addr(&self) -> SocketAddr
[src]
#[must_use]fn is_disconnect<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = AResult<bool>> + Send + Sync + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = AResult<bool>> + Send + Sync + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn send<'life0, 'async_trait, T: Deref<Target = [u8]> + Send + Sync + 'static>(
&'life0 self,
buff: T
) -> Pin<Box<dyn Future<Output = AResult<usize>> + Send + Sync + 'async_trait>> where
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
buff: T
) -> Pin<Box<dyn Future<Output = AResult<usize>> + Send + Sync + 'async_trait>> where
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn disconnect<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = AResult<()>> + Send + Sync + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = AResult<()>> + Send + Sync + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Implementations on Foreign Types
impl IPeer for Actor<TCPPeer>
[src]
fn addr(&self) -> SocketAddr
[src]
fn is_disconnect<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = AResult<bool>> + Send + Sync + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = AResult<bool>> + Send + Sync + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn send<'life0, 'async_trait, T: Deref<Target = [u8]> + Send + Sync + 'static>(
&'life0 self,
buff: T
) -> Pin<Box<dyn Future<Output = AResult<usize>> + Send + Sync + 'async_trait>> where
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
buff: T
) -> Pin<Box<dyn Future<Output = AResult<usize>> + Send + Sync + 'async_trait>> where
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
fn disconnect<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = AResult<()>> + Send + Sync + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = AResult<()>> + Send + Sync + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,