pub struct LifecycleRecord {
pub key: String,
pub op_id: u64,
pub op: LifecycleOp,
pub result: LifecycleResult,
pub base: Option<String>,
pub delete_wrote: Option<bool>,
}Expand description
One recorded lifecycle op.
Fields§
§key: String§op_id: u64§op: LifecycleOp§result: LifecycleResult§base: Option<String>The "<counter>:<hash>" rendering of the revision this op read and
conditioned its write on. None for Recreate, and for any op that
never read a live record (its get returned absent, so it wrote
unconditionally or was skipped).
delete_wrote: Option<bool>For an acknowledged conditional Delete, whether it actually wrote the
tombstone on its base: Some(true) when a raw read straight after the
delete found a tombstone whose parent is base, Some(false) when it
found a tombstone with a different parent (a no-op over an existing
tombstone), and None when that read failed or found the key live or
absent (a later op raced it). None for every other op and result.
Trait Implementations§
Source§impl Clone for LifecycleRecord
impl Clone for LifecycleRecord
Source§fn clone(&self) -> LifecycleRecord
fn clone(&self) -> LifecycleRecord
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 moreAuto Trait Implementations§
impl Freeze for LifecycleRecord
impl RefUnwindSafe for LifecycleRecord
impl Send for LifecycleRecord
impl Sync for LifecycleRecord
impl Unpin for LifecycleRecord
impl UnsafeUnpin for LifecycleRecord
impl UnwindSafe for LifecycleRecord
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request