pub struct HandlerStatus {
pub status: ConnectionStatus,
pub web_socket_open: bool,
pub kms_initialized: bool,
pub device_registered: bool,
pub reconnect_attempt: u32,
}Expand description
Structured health check of all connection subsystems.
Fields§
§status: ConnectionStatusOverall connection state.
web_socket_open: boolWhether the Mercury WebSocket is currently open.
kms_initialized: boolWhether the KMS encryption context has been established.
device_registered: boolWhether the device is registered with WDM.
reconnect_attempt: u32Current auto-reconnect attempt number (0 if not reconnecting).
Trait Implementations§
Source§impl Clone for HandlerStatus
impl Clone for HandlerStatus
Source§fn clone(&self) -> HandlerStatus
fn clone(&self) -> HandlerStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for HandlerStatus
impl RefUnwindSafe for HandlerStatus
impl Send for HandlerStatus
impl Sync for HandlerStatus
impl Unpin for HandlerStatus
impl UnsafeUnpin for HandlerStatus
impl UnwindSafe for HandlerStatus
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