embassy-usb-driver

Crates

git

Versions

default

Flavors

Skip to main content

Type

Trait Type 

Source
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§

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".

Implementors§