embassy-usb-driver

Crates

git

Versions

default

Flavors

Type

Trait Type 

Source
pub trait Type: Sealed {
    // Required method
    fn ep_type() -> EndpointType;
}
Expand description

Marker trait for the endpoint transfer type of a channel.

Required Methods§

Source

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.

Implementors§