Injectable

Trait Injectable 

Source
pub trait Injectable {
    // Required method
    fn __register<C>(container: &C)
       where C: Contract;
}

Required Methods§

Source

fn __register<C>(container: &C)
where C: Contract,

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§