pub enum LoadStep {
FindingKeys,
Streaming(Audience),
Installing,
InstallingSlots,
Reading,
Applying,
}Expand description
A step of loading a store from storage (§13.4), in the order they run. A step runs only when it has work to do.
Variants§
FindingKeys
Reading slots for copies of this member’s keys: from the floor’s first kept slot, or from slot 1 without a floor, or, for a join, from its invite, to the end of the sequence. It runs only when the floor holds no copy for this member. Done counts the slots passed and total the end found once the first slot is read; slots that land while it reads raise the total.
Streaming(Audience)
Streaming one of the floor’s snapshots from storage, staging its rows as they arrive: the store’s first, then each circle’s this member reads. Done and total count bytes of the snapshot’s object.
Installing
Installing the staged snapshots’ rows. Done and total count tables: installing passes over each snapshot’s tables six times, to copy their rows, check them three ways, write their merge records and check that every row has one, and each table counts once in each pass.
InstallingSlots
Applying the slots from the snapshots’ coverage to the load’s target, in the same transaction. Done and total count slots.
Reading
Reading the slots after that target, to the end of the sequence. Done and total count slots; the total is the end found as the step begins, and grows if slots land while it reads.
Applying
Applying the slots it read, one transaction each. Done and total count slots.
Trait Implementations§
impl Eq for LoadStep
impl StructuralPartialEq for LoadStep
Auto Trait Implementations§
impl Freeze for LoadStep
impl RefUnwindSafe for LoadStep
impl Send for LoadStep
impl Sync for LoadStep
impl Unpin for LoadStep
impl UnsafeUnpin for LoadStep
impl UnwindSafe for LoadStep
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
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>
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