pub struct Tallies {
pub nodes: usize,
pub trusted: usize,
pub present: usize,
pub accepted: u64,
pub replayed: u64,
pub expired: u64,
pub evicted: u64,
}Expand description
The registry’s tallies, for status and health.
Fields§
§nodes: usizeRecords held.
trusted: usizeOf which trusted.
present: usizeOf which present.
accepted: u64Observations accepted since start.
replayed: u64Replayed datagrams dropped since start.
expired: u64Records expired out since start.
evicted: u64Records evicted for space since start.
Trait Implementations§
impl Copy for Tallies
Source§impl<'de> Deserialize<'de> for Tallies
impl<'de> Deserialize<'de> for Tallies
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for Tallies
impl JsonSchema for Tallies
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for Tallies
impl RefUnwindSafe for Tallies
impl Send for Tallies
impl Sync for Tallies
impl Unpin for Tallies
impl UnsafeUnpin for Tallies
impl UnwindSafe for Tallies
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