Trait singleton_manager::SingletonProvider [−][src]
pub trait SingletonProvider { type Output: 'static; type Error: Into<Error>; fn service() -> Result<&'static mut Self::Output, Self::Error>; fn get_name(&self) -> &'static str; fn get_service(&self) -> Result<Self::Output, Self::Error>; }