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".

Implementors§

Source§

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