Trait Request

Source
pub trait Request<Types>:
    Copy
    + Debug
    + Eq
    + Hash
    + Send {
    type Response: Clone + Send;
}
Expand description

A request for a resource.

Required Associated Types§

Source

type Response: Clone + Send

The type of resource that will be returned as a successful response to this request.

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§