pub struct RecordSite {
pub tag: u8,
pub offset: u64,
pub payload_len: u32,
}Expand description
The on-disk location of one record, used to cross-check a directory against the actual framing.
Fields§
§tag: u8Raw record tag byte.
offset: u64Absolute file offset of the record’s tag byte.
payload_len: u32Declared payload length of the record.
Trait Implementations§
Source§impl Clone for RecordSite
impl Clone for RecordSite
impl Copy for RecordSite
Source§impl Debug for RecordSite
impl Debug for RecordSite
impl Eq for RecordSite
Source§impl PartialEq for RecordSite
impl PartialEq for RecordSite
impl StructuralPartialEq for RecordSite
Auto Trait Implementations§
impl Freeze for RecordSite
impl RefUnwindSafe for RecordSite
impl Send for RecordSite
impl Sync for RecordSite
impl Unpin for RecordSite
impl UnsafeUnpin for RecordSite
impl UnwindSafe for RecordSite
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