pub enum ChangePhase {
Recovered,
Recorded,
Written,
Lost,
Updated,
Completed,
}Expand description
Phase of a multi-step storage change.
Variants§
Recovered
The change was recovered from changelog and the phase is unknown.
Recorded
The change is recorded in the log and LT upload has started.
Written
LT upload has succeeded and the tombstone is being updated.
Lost
The tombstone update failed due to a conflict.
Updated
The tombstone update succeeded.
Completed
Cleanup complete.
Implementations§
Source§impl ChangePhase
impl ChangePhase
Sourcepub fn compare_and_write(succeeded: bool) -> Self
pub fn compare_and_write(succeeded: bool) -> Self
Returns the phase corresponding to the outcome of a compare-and-write operation.
Trait Implementations§
Source§impl Debug for ChangePhase
impl Debug for ChangePhase
Source§impl PartialEq for ChangePhase
impl PartialEq for ChangePhase
impl StructuralPartialEq for ChangePhase
Auto Trait Implementations§
impl Freeze for ChangePhase
impl RefUnwindSafe for ChangePhase
impl Send for ChangePhase
impl Sync for ChangePhase
impl Unpin for ChangePhase
impl UnwindSafe for ChangePhase
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
§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>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].