pub trait StreamCapability: 'static {
type OpenRequest: 'static;
type Message: 'static;
type DomainError: 'static;
const ID: &'static str;
const DESCRIPTOR_VERSION: &'static str;
}Expand description
Static identity and Rust value types generated for one stream Capability.
Required Associated Constants§
Sourceconst DESCRIPTOR_VERSION: &'static str
const DESCRIPTOR_VERSION: &'static str
Exact generated Descriptor version.
Required Associated Types§
Sourcetype OpenRequest: 'static
type OpenRequest: 'static
Typed request used to open one stream session.
Sourcetype DomainError: 'static
type DomainError: 'static
Typed Capability-defined terminal or opening error value.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".