Trait distant_net::TypedAsyncWrite
source · [−]pub trait TypedAsyncWrite<T> {
fn write<'life0, 'async_trait>(
&'life0 mut self,
data: T
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
}
Expand description
Interface to write some structured data asynchronously