pub trait RequestCapability: 'static {
type Request: 'static;
type Response: 'static;
type DomainError: 'static;
const ID: &'static str;
const DESCRIPTOR_VERSION: &'static str;
}Required Associated Constants§
Sourceconst DESCRIPTOR_VERSION: &'static str
const DESCRIPTOR_VERSION: &'static str
Exact generated Descriptor version.
Required Associated Types§
Sourcetype DomainError: 'static
type DomainError: 'static
Typed Capability-defined error value.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".