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>; }