Skip to main content

Input

Trait Input 

Source
trait Input {
    // Required method
    async fn recv(&mut self) -> Option<Held>;
}
Expand description

The data a client sends for a forwarded connection. It counts against the budget of the client until it got written to the pod.

Required Methods§

Source

async fn recv(&mut self) -> Option<Held>

The next data, None once the client is done.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Input for Receiver<Held>

Source§

async fn recv(&mut self) -> Option<Held>

Implementors§