AddDaemonExt

Trait AddDaemonExt 

Source
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§

Source

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

Source

fn has_daemon<T>(&self) -> bool
where 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.

Implementations on Foreign Types§

Source§

impl AddDaemonExt for AppBuilder

Source§

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

Source§

fn has_daemon<T>(&self) -> bool
where T: Daemon + 'static,

Implementors§