pub trait HandlerRef<__Context__, Code, Input>: IsProviderFor<HandlerRefComponent, __Context__, (Code, Input)>where
__Context__: HasErrorType,{
type Output;
// Required method
fn handle_ref(
__context__: &__Context__,
_tag: PhantomData<Code>,
input: &Input,
) -> impl Future<Output = Result<Self::Output, __Context__::Error>>;
}Required Associated Types§
Required Methods§
fn handle_ref( __context__: &__Context__, _tag: PhantomData<Code>, input: &Input, ) -> impl Future<Output = Result<Self::Output, __Context__::Error>>
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.