pub trait Injectable: Sync + Send {
type Error: Error + Send + Sync + 'static;
// Required method
fn create(
injector: Injector,
) -> impl Future<Output = Result<Self, Self::Error>> + Sync + Send
where Self: Sized;
}pub trait Injectable: Sync + Send {
type Error: Error + Send + Sync + 'static;
// Required method
fn create(
injector: Injector,
) -> impl Future<Output = Result<Self, Self::Error>> + Sync + Send
where Self: Sized;
}