Trait xwt_core::io::WriteChunk
source · pub trait WriteChunk<ChunkType: ?Sized + WriteableChunk>: Send {
type Error: Error + Send + Sync + 'static;
// Required method
fn write_chunk<'a>(
&'a mut self,
buf: <ChunkType as WriteableChunk>::Data<'a>
) -> impl Future<Output = Result<(), Self::Error>> + 'a + Send;
}
Required Associated Types§
Required Methods§
fn write_chunk<'a>( &'a mut self, buf: <ChunkType as WriteableChunk>::Data<'a> ) -> impl Future<Output = Result<(), Self::Error>> + 'a + Send
Object Safety§
This trait is not object safe.