Skip to main content

TwoWayMethod

Trait TwoWayMethod 

Source
pub trait TwoWayMethod: Method {
    type Response: Response;
}
Expand description

A protocol method which has a response.

Required Associated Types§

Source

type Response: Response

The response message for the method.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§