noema 0.2.11

Noema IOC and DI framework for Rust
Documentation
1
2
3
4
5
6
7
use std::sync::Arc;

/// Resolver trait for resolving instances of type T
pub trait Resolver<T: ?Sized + Sync + Send> {
    /// Resolve an instance of type T
    fn resolve() -> Arc<T>;
}