Trait EndpointIn
pub trait EndpointIn: Endpoint {
// Required method
async fn write(&mut self, buf: &[u8]) -> Result<(), EndpointError>;
}
Expand description
IN Endpoint trait.
Required Methods§
async fn write(&mut self, buf: &[u8]) -> Result<(), EndpointError>
async fn write(&mut self, buf: &[u8]) -> Result<(), EndpointError>
Write a single packet of data to the endpoint.
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.