Skip to main content

Mountain/IPC/StatusReporter/
ConnectionStatus.rs

1#![allow(non_snake_case)]
2
3//! Connectivity slice of `IPCStatusReport::Struct` - is the
4//! IPC server reachable, when did it last heartbeat, and how
5//! long has the current connection been alive.
6
7use serde::{Deserialize, Serialize};
8
9#[derive(Debug, Clone, Serialize, Deserialize)]
10pub struct Struct {
11	pub is_connected:bool,
12	pub last_heartbeat:u64,
13	pub connection_duration:u64,
14}