pub trait TryComputerRef<Context, Code, Input>: IsProviderFor<TryComputerRefComponent, Context, (Code, Input)>where
Context: HasErrorType,{
type Output;
// Required method
fn try_compute_ref(
context: &Context,
_code: PhantomData<Code>,
input: &Input,
) -> Result<Self::Output, Context::Error>;
}Required Associated Types§
Required Methods§
fn try_compute_ref( context: &Context, _code: PhantomData<Code>, input: &Input, ) -> 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.