pub struct Header {
pub flipped: bool,
pub length: Nat,
pub key: Nat,
pub checksum: Nat,
}Expand description
Header of a user entry.
Fields§
§flipped: boolWhether the last bit of the user data is flipped.
length: NatThe length in bytes of the user data.
key: NatThe key of the user entry.
checksum: NatThe checksum of the user entry.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Header
impl Freeze for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnsafeUnpin for Header
impl UnwindSafe for Header
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