Trait Method
pub trait Method {
type Protocol;
type Request;
type Response;
const ORDINAL: u64;
}
Expand description
A method of a protocol.
Required Associated Constants§
Required Associated Types§
type Protocol
type Protocol
The protocol the method is a member of.
type Request
type Request
The request payload for the method.
type Response
type Response
The response payload for the method.
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.