pub struct VbRecord {
pub payload: Vec<u8>,
pub rdw: [u8; 4],
pub rdw_reserved: u16,
pub block_index: u64,
pub record_index_in_block: u32,
pub block_offset: u64,
pub physical_offset: u64,
pub block_len: usize,
}Expand description
One record framed inside a VB block.
Fields§
§payload: Vec<u8>Record payload with framing headers removed.
rdw: [u8; 4]Original 4-byte RDW header (length includes the header).
rdw_reserved: u16Reserved bytes of the record RDW header.
block_index: u64Zero-based index of the containing block.
record_index_in_block: u32Zero-based index of the record inside its block.
block_offset: u64Physical byte offset of the containing BDW.
physical_offset: u64Physical byte offset of the record RDW.
block_len: usizeDeclared block length, BDW header included.
Trait Implementations§
impl Eq for VbRecord
impl StructuralPartialEq for VbRecord
Auto Trait Implementations§
impl Freeze for VbRecord
impl RefUnwindSafe for VbRecord
impl Send for VbRecord
impl Sync for VbRecord
impl Unpin for VbRecord
impl UnsafeUnpin for VbRecord
impl UnwindSafe for VbRecord
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.