pub struct HawDBLightningRelationalStream {
pub format_version: u64,
pub database_commit_epoch: u64,
pub stream_checksum: u64,
pub byte_len: usize,
pub table_count: usize,
pub row_count: usize,
pub overflow_segment_count: usize,
pub encoded: Vec<u8>,
}Fields§
§format_version: u64§database_commit_epoch: u64§stream_checksum: u64§byte_len: usize§table_count: usize§row_count: usize§overflow_segment_count: usize§encoded: Vec<u8>Implementations§
Source§impl HawDBLightningRelationalStream
impl HawDBLightningRelationalStream
pub fn from_state( database_commit_epoch: u64, state: &RelationalState, ) -> Result<Self>
pub fn validate(&self) -> HawDBLightningRelationalStreamValidation
pub fn validate_against_manifest( &self, manifest: &HawDBLightningBootstrapManifest, ) -> HawDBLightningRelationalStreamValidation
Trait Implementations§
impl Eq for HawDBLightningRelationalStream
impl StructuralPartialEq for HawDBLightningRelationalStream
Auto Trait Implementations§
impl Forget for HawDBLightningRelationalStream
impl Freeze for HawDBLightningRelationalStream
impl Move for HawDBLightningRelationalStream
impl RefUnwindSafe for HawDBLightningRelationalStream
impl Send for HawDBLightningRelationalStream
impl Sync for HawDBLightningRelationalStream
impl Unpin for HawDBLightningRelationalStream
impl UnsafeUnpin for HawDBLightningRelationalStream
impl UnwindSafe for HawDBLightningRelationalStream
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