pub struct PersistedHeader {
pub format_version: u16,
pub table_id: u64,
pub schema_id: u64,
pub run_generation: u64,
pub cache_key: u64,
pub entry_generation: u64,
pub payload_len: u32,
}Expand description
Header of a persisted frame. Read from disk and re-validated before any payload is decoded.
Fields§
§format_version: u16§table_id: u64§schema_id: u64§run_generation: u64§cache_key: u64§entry_generation: u64§payload_len: u32Trait Implementations§
Source§impl Clone for PersistedHeader
impl Clone for PersistedHeader
Source§fn clone(&self) -> PersistedHeader
fn clone(&self) -> PersistedHeader
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PersistedHeader
impl Debug for PersistedHeader
impl Eq for PersistedHeader
Source§impl PartialEq for PersistedHeader
impl PartialEq for PersistedHeader
impl StructuralPartialEq for PersistedHeader
Auto Trait Implementations§
impl Freeze for PersistedHeader
impl RefUnwindSafe for PersistedHeader
impl Send for PersistedHeader
impl Sync for PersistedHeader
impl Unpin for PersistedHeader
impl UnsafeUnpin for PersistedHeader
impl UnwindSafe for PersistedHeader
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more