pub trait TryComputer<__Context__, Code, Input>: IsProviderFor<TryComputerComponent, __Context__, (Code, Input)>where
__Context__: HasErrorType,{
type Output;
// Required method
fn try_compute(
__context__: &__Context__,
_code: PhantomData<Code>,
input: Input,
) -> Result<Self::Output, <__Context__ as HasErrorType>::Error>;
}Required Associated Types§
Required Methods§
fn try_compute( __context__: &__Context__, _code: PhantomData<Code>, input: Input, ) -> Result<Self::Output, <__Context__ as HasErrorType>::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.