Skip to main content

IntoOperation

Trait IntoOperation 

Source
pub trait IntoOperation {
    type Output;

    // Required method
    fn into_operation(self) -> Result<Operation<Self::Output>, Error>;
}
Expand description

Anything ConnectionScope::run executes: an Operation, or a generated action’s input or builder.

Required Associated Types§

Source

type Output

The type the response decodes to.

Required Methods§

Source

fn into_operation(self) -> Result<Operation<Self::Output>, Error>

Builds the operation, failing when the input does not validate.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<Out> IntoOperation for Operation<Out>

Source§

type Output = Out