Skip to main content

DevelopmentNodeEnvironment_MicrosoftVSCodeDependency_22NodeVersion_Bundle_Clean_Debug_ElectronProfile_EsbuildCompiler_Mountain/IPC/StatusReporter/
ConnectionStatus.rs

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