pub struct RawRead {
pub start_offset: i64,
pub bytes: Bytes,
pub total: usize,
}Expand description
Verbatim, decode-free output of Log::read_raw.
Fields§
§start_offset: i64Absolute offset of the first batch in Self::bytes, or the
requested offset when no bytes were returned.
bytes: BytesVerbatim .log bytes — zero or more complete v2 batches, spanning
segment boundaries.
total: usizeLength of Self::bytes in bytes.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for RawRead
impl RefUnwindSafe for RawRead
impl Send for RawRead
impl Sync for RawRead
impl Unpin for RawRead
impl UnsafeUnpin for RawRead
impl UnwindSafe for RawRead
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more