pub struct DirectoryEntry {
pub tag: u8,
pub offset: u64,
pub payload_len: u32,
}Expand description
One record locator: where a record’s tag byte sits and its declared payload
length. offset is absolute from the start of the descriptor.
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 DirectoryEntry
impl Clone for DirectoryEntry
impl Copy for DirectoryEntry
Source§impl Debug for DirectoryEntry
impl Debug for DirectoryEntry
impl Eq for DirectoryEntry
Source§impl PartialEq for DirectoryEntry
impl PartialEq for DirectoryEntry
impl StructuralPartialEq for DirectoryEntry
Auto Trait Implementations§
impl Freeze for DirectoryEntry
impl RefUnwindSafe for DirectoryEntry
impl Send for DirectoryEntry
impl Sync for DirectoryEntry
impl Unpin for DirectoryEntry
impl UnsafeUnpin for DirectoryEntry
impl UnwindSafe for DirectoryEntry
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