pub struct FetchedBatch {
pub base_offset: i64,
pub record_count: i32,
pub payload: Bytes,
}Expand description
A batch read back by LogEngine::fetch, with its assigned base offset.
Fields§
§base_offset: i64First offset of the batch.
record_count: i32Number of records in the batch.
payload: BytesThe opaque batch payload.
Trait Implementations§
Source§impl Clone for FetchedBatch
impl Clone for FetchedBatch
Source§impl Debug for FetchedBatch
impl Debug for FetchedBatch
impl Eq for FetchedBatch
Source§impl PartialEq for FetchedBatch
impl PartialEq for FetchedBatch
impl StructuralPartialEq for FetchedBatch
Auto Trait Implementations§
impl !Freeze for FetchedBatch
impl Forget for FetchedBatch
impl RefUnwindSafe for FetchedBatch
impl Send for FetchedBatch
impl Sync for FetchedBatch
impl Unpin for FetchedBatch
impl UnsafeUnpin for FetchedBatch
impl UnwindSafe for FetchedBatch
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