pub trait AddDaemonExt {
// Required methods
fn add_daemon<T>(&mut self, daemon: impl Into<Arc<T>>) -> &mut Self
where T: Daemon + 'static;
fn has_daemon<T>(&self) -> bool
where T: Daemon + 'static;
}Required Methods§
fn add_daemon<T>(&mut self, daemon: impl Into<Arc<T>>) -> &mut Selfwhere
T: Daemon + 'static,
fn has_daemon<T>(&self) -> boolwhere
T: Daemon + 'static,
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.