Skip to main content

Resolvable

Trait Resolvable 

Source
pub trait Resolvable<Output> {
    // Required method
    fn resolve(&mut self, output: Output) -> Result<(), ResolveError>;
}

Required Methods§

Source

fn resolve(&mut self, output: Output) -> Result<(), ResolveError>

Resolve the request with the given output.

§Errors

Returns an error if the request is not expected to be resolved.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<Op> Resolvable<<Op as Operation>::Output> for Request<Op>
where Op: Operation,

Source§

impl<Output> Resolvable<Output> for RequestHandle<Output>