Skip to main content

Dependency

Trait Dependency 

Source
pub trait Dependency:
    Clone
    + Send
    + Sync
    + 'static { }
Expand description

Dependency resolver trait

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.

Implementors§

Source§

impl<T: Clone + Send + Sync + 'static> Dependency for T