pub trait DashboardApiModuleExt {
// Required method
fn get_module<M: ServerModule + 'static>(&self) -> Option<&M>;
}
Expand description
Extension trait for IDashboardApi providing type-safe module access
Required Methods§
Sourcefn get_module<M: ServerModule + 'static>(&self) -> Option<&M>
fn get_module<M: ServerModule + 'static>(&self) -> Option<&M>
Get a typed reference to a server module instance by kind
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.