Skip to main content

ServerMonitoring

Trait ServerMonitoring 

Source
pub trait ServerMonitoring: Send + Sync {
    // Required method
    fn get_server(&self) -> ServerInfo;

    // Provided method
    fn get_server_summary(&self) -> ServerSummary { ... }
}
Expand description

Trait for monitoring the server (upstream connection)

Required Methods§

Source

fn get_server(&self) -> ServerInfo

Get server connection info with all its channels

Provided Methods§

Source

fn get_server_summary(&self) -> ServerSummary

Get summary of server connection

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§