pub trait IngressAdapter: Adapter {
// Required method
fn read_next(
&mut self,
out: &mut [u8],
) -> Result<Option<usize>, AdapterError>;
}Expand description
Ingress adapter: produces input messages.
The API is deliberately simple and allocation-free for callers: the caller provides out.