Trait Request

Source
pub trait Request {
    type Action: Action;
    type Response;
    type Error: ApiError;

    const ACTION: Self::Action;
}
Expand description

Basic request definition.

Required Associated Constants§

Source

const ACTION: Self::Action

Required Associated Types§

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§