pub trait Subsystem:
Any
+ HasVersion
+ Shutdown
+ Send
+ Sync {
// Required methods
fn name(&self) -> &'static str;
fn is_running(&self) -> bool;
fn health_status(&self) -> HealthStatus;
fn as_any(&self) -> &dyn Any;
}Required Methods§
fn name(&self) -> &'static str
fn is_running(&self) -> bool
fn health_status(&self) -> HealthStatus
fn as_any(&self) -> &dyn Any
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".