Skip to main content

AddDaemonExt

Trait AddDaemonExt 

Source
pub trait AddDaemonExt {
    // Required method
    fn add_daemon<T>(&self, daemon: impl Into<Arc<T>>)
       where T: Daemon + 'static;
}

Required Methods§

Source

fn add_daemon<T>(&self, daemon: impl Into<Arc<T>>)
where T: Daemon + 'static,

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl AddDaemonExt for AppContext

Source§

fn add_daemon<T>(&self, daemon: impl Into<Arc<T>>)
where T: Daemon + 'static,

Implementors§