pub trait Type: Sealed {
// Required method
fn ep_type() -> EndpointType;
}Expand description
Marker trait for the endpoint transfer type of a channel.
Required Methods§
Sourcefn ep_type() -> EndpointType
fn ep_type() -> EndpointType
Returns the EndpointType this marker represents.
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.