pub enum Rebuilt {
Nothing,
Intact(usize),
Rebuilt {
had: usize,
now: usize,
},
Longer {
file: usize,
log: usize,
},
Diverged {
why: String,
},
}Expand description
What rebuild_audit_trail did.
Variants§
Nothing
The log carries no audit frame at all (a primary from before lane T11, or a box that has made no audited decision).
Intact(usize)
The file’s tip is the log’s newest audit entry: this many entries in the file.
Rebuilt
The file held had whole entries; now - had were appended from the log.
Longer
The file’s tip is past the log’s newest audit entry; left alone.
Diverged
The file and the log cannot be joined without guessing; left alone.
Trait Implementations§
impl Eq for Rebuilt
impl StructuralPartialEq for Rebuilt
Auto Trait Implementations§
impl Freeze for Rebuilt
impl RefUnwindSafe for Rebuilt
impl Send for Rebuilt
impl Sync for Rebuilt
impl Unpin for Rebuilt
impl UnsafeUnpin for Rebuilt
impl UnwindSafe for Rebuilt
Blanket Implementations§
impl<T> Allocation for T
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> 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