pub struct Replayed {
pub replayed: u64,
pub skipped: u64,
pub bytes: u64,
pub torn_segments: u64,
}Expand description
What a Wal::replay did, for the line it gets logged on.
Fields§
§replayed: u64Frames handed to the callback.
skipped: u64Frames already covered by a published block.
bytes: u64Body bytes replayed.
torn_segments: u64Segments that ended in a torn or corrupt frame. One is normal after a crash — it is the write that was in flight. More than one means something else is wrong, which is why they are counted separately from the frames rather than folded in.
Trait Implementations§
impl Eq for Replayed
impl StructuralPartialEq for Replayed
Auto Trait Implementations§
impl Freeze for Replayed
impl RefUnwindSafe for Replayed
impl Send for Replayed
impl Sync for Replayed
impl Unpin for Replayed
impl UnsafeUnpin for Replayed
impl UnwindSafe for Replayed
Blanket Implementations§
impl<T> Allocation for T
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
§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
Checks if this value is equivalent to the given key. Read more
§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
Compare self to
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>
§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].