pub trait ObjectProvider {
// Required method
fn provide<'a>(&'a self, request: Pin<&mut Request<'a>>);
}
Expand description
Trait to provide other objects based on a requested type at runtime.
See also the ObjectProviderExt
trait which provides the request
method.