Skip to main content

Executable

Trait Executable 

Source
pub trait Executable:
    Clone
    + Display
    + Sized {
    type Response: Debug + Send + Sync;
    type ExecutionError: Debug + Send + Sync;
}
Expand description

A request that can be executed by a handler.

Required Associated Types§

Source

type Response: Debug + Send + Sync

Successful result type.

Source

type ExecutionError: Debug + Send + Sync

Error type returned on failure.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§