Trait common::io::AsyncWriter [−][src]
pub trait AsyncWriter: Send { fn write<'a, 'async_trait>(
&'a mut self,
src: &'a [u8]
) -> Pin<Box<dyn Future<Output = Result<usize>> + Send + 'async_trait>>
where
'a: 'async_trait,
Self: 'async_trait; fn shutdown<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; }