pub trait Respond<R> {
    type Output;
    // Required method
    fn respond(response: R) -> Self::Output;
}Expand description
A method which can be responded to with a single value.
For methods which return a result, this method implicitly returns Ok of
the given response.
Required Associated Types§
Required Methods§
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.