pub trait Type: Sealed + 'static {
// Required method
fn ep_type() -> EndpointType;
}Expand description
Marker trait for the endpoint transfer type of a pipe.
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".