pub trait Request: Send {
    type Response: Send;
}
Expand description

Trait for representing a Request.

Requests are usually Commands or Queries, and their sole requirement is to have an associated Response type.

Required Associated Types§

source

type Response: Send

Request response type.

Implementors§

source§

impl<T: Command> Request for T

§

type Response = ()