pub struct LogHeader {
pub epoch: u32,
pub t: u64,
}Expand description
Parsed metadata from an encrypted log-record payload header.
Fields§
§epoch: u32Key epoch used to encrypt the payload.
t: u64Transaction number the payload was written at.
Trait Implementations§
impl Copy for LogHeader
impl Eq for LogHeader
impl StructuralPartialEq for LogHeader
Auto Trait Implementations§
impl Freeze for LogHeader
impl RefUnwindSafe for LogHeader
impl Send for LogHeader
impl Sync for LogHeader
impl Unpin for LogHeader
impl UnsafeUnpin for LogHeader
impl UnwindSafe for LogHeader
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