pub struct RecordBatchView<'a> { /* private fields */ }
Implementations§
Source§impl RecordBatchView<'_>
impl RecordBatchView<'_>
pub fn magic(&self) -> i8
pub fn base_offset(&self) -> i64
pub fn last_offset(&self) -> i64
pub fn base_sequence(&self) -> i32
pub fn last_sequence(&self) -> i32
pub fn max_timestamp(&self) -> i64
pub fn records_count(&self) -> i32
pub fn records(&self) -> Vec<Record>
pub fn checksum(&self) -> u32
pub fn is_transactional(&self) -> bool
pub fn is_control_batch(&self) -> bool
pub fn timestamp_type(&self) -> TimestampType
pub fn compression_type(&self) -> CompressionType
pub fn delete_horizon_ms(&self) -> Option<i64>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for RecordBatchView<'a>
impl<'a> RefUnwindSafe for RecordBatchView<'a>
impl<'a> Send for RecordBatchView<'a>
impl<'a> Sync for RecordBatchView<'a>
impl<'a> Unpin for RecordBatchView<'a>
impl<'a> UnwindSafe for RecordBatchView<'a>
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