pub struct Coverage {
pub first_ledger: u32,
pub last_ledger: u32,
pub state_first_ledger: u32,
pub tree_history_first_ledger: u32,
pub cold_segments: u64,
pub cold_transactions: u64,
pub bytes: BTreeMap<&'static str, u64>,
}Expand description
What the server holds, refreshed every minute.
Fields§
§first_ledger: u32Ledgers the API serves.
last_ledger: u32§state_first_ledger: u32First ledger with state (the snapshot), and first with tree history,
which proof_entry needs.
tree_history_first_ledger: u32§cold_segments: u64§cold_transactions: u64§bytes: BTreeMap<&'static str, u64>Bytes on disk by part.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Coverage
impl RefUnwindSafe for Coverage
impl Send for Coverage
impl Sync for Coverage
impl Unpin for Coverage
impl UnsafeUnpin for Coverage
impl UnwindSafe for Coverage
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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].