Trait laminarmq_io::io_types::AsyncAppend
source · pub trait AsyncAppend: SizedEntity + FallibleEntity {
// Required method
fn append(
&mut self,
bytes: Bytes,
) -> impl Future<Output = Result<AppendInfo<Self::Position, Self::Size>, UnwrittenError<Self::Error>>>;
}
Required Methods§
fn append( &mut self, bytes: Bytes, ) -> impl Future<Output = Result<AppendInfo<Self::Position, Self::Size>, UnwrittenError<Self::Error>>>
Object Safety§
This trait is not object safe.