Trait runtime_injector_actix::InterfaceFor[][src]

pub trait InterfaceFor<T>: Interface where
    T: Service
{ }

Marker trait that indicates that a type is an interface for another type. Each sized type is an interface for itself, and each dyn Trait is an interface for the types that it can resolve. This trait should usually be implemented by the interface! macro, and is strictly used to enforce stronger type checking when assigning implementations for interfaces.

Implementors

impl<T> InterfaceFor<T> for T where
    T: Service
[src]

Loading content...