Trait OperationShape

Source
pub trait OperationShape {
    type Input;
    type Output;
    type Error;

    const ID: ShapeId;
}
Expand description

Required Associated Constants§

Source

const ID: ShapeId

The ID of the operation.

Required Associated Types§

Source

type Input

The operation input.

Source

type Output

The operation output.

Source

type Error

The operation error. Infallible in the case where no error exists.

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.

Implementors§