Trait backup_cli::utils::read_record_bytes::ReadRecordBytes
source · pub trait ReadRecordBytes {
// Required methods
fn read_full_buf_or_none<'life0, 'life1, 'async_trait>(
&'life0 mut self,
buf: &'life1 mut BytesMut
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn read_record_bytes<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Option<Bytes>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}