Trait xwt_core::io::WriteChunk
source · pub trait WriteChunk<ChunkType: ?Sized + WriteableChunk>: Send {
type Error: Error + Send + Sync + 'static;
// Required method
fn write_chunk<'life0, 'life1, 'async_trait>(
&'life0 mut self,
buf: <ChunkType as WriteableChunk>::Data<'life1>
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}