pub struct StatusResult {Show 13 fields
pub running: bool,
pub service: String,
pub version: String,
pub commit: String,
pub protocol: String,
pub uptime_secs: u64,
pub addr: String,
pub upstream: String,
pub cache: CacheView,
pub hosted_store_count: u64,
pub cached_capsule_count: u64,
pub pinned_store_count: u64,
pub sync: SyncAvailability,
}Expand description
control.status — a rich node status snapshot.
Fields§
§running: boolAlways true for a responding node.
service: StringThe service name ("dig-node").
version: StringThe node binary’s semantic version.
commit: StringThe git commit the binary was built from (or "unknown").
protocol: StringThe DIG read protocol version the node speaks.
uptime_secs: u64Process uptime in seconds.
addr: StringThe loopback host:port the node is bound to.
upstream: StringThe upstream DIG RPC the node proxies/syncs to.
cache: CacheViewThe on-disk cache view.
hosted_store_count: u64Distinct stores held (from the cache).
cached_capsule_count: u64Cached capsule count.
pinned_store_count: u64Pinned-store count.
sync: SyncAvailability§21 sync availability.
Trait Implementations§
Source§impl Clone for StatusResult
impl Clone for StatusResult
Source§fn clone(&self) -> StatusResult
fn clone(&self) -> StatusResult
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 moreSource§impl Debug for StatusResult
impl Debug for StatusResult
Source§impl<'de> Deserialize<'de> for StatusResult
impl<'de> Deserialize<'de> for StatusResult
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
impl Eq for StatusResult
Source§impl PartialEq for StatusResult
impl PartialEq for StatusResult
Source§impl Serialize for StatusResult
impl Serialize for StatusResult
impl StructuralPartialEq for StatusResult
Auto Trait Implementations§
impl Freeze for StatusResult
impl RefUnwindSafe for StatusResult
impl Send for StatusResult
impl Sync for StatusResult
impl Unpin for StatusResult
impl UnsafeUnpin for StatusResult
impl UnwindSafe for StatusResult
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