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.

Implementors§

Source§

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

Source§

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