Embassy
embassy-usb-driver

Crates

git

Versions

default

Flavors

Trait embassy_usb_driver::EndpointIn

source ·
pub trait EndpointIn: Endpoint {
    // Required method
    async fn write(&mut self, buf: &[u8]) -> Result<(), EndpointError>;
}
Expand description

IN Endpoint trait.

Required Methods§

source

async fn write(&mut self, buf: &[u8]) -> Result<(), EndpointError>

Write a single packet of data to the endpoint.

Object Safety§

This trait is not object safe.

Implementors§