Trait monoio_codec::NextWithCodec
source · pub trait NextWithCodec<T> {
type Item;
type NextFuture<'a>: Future<Output = Option<Self::Item>>
where Self: 'a,
T: 'a;
// Required method
fn next_with<'a>(&'a mut self, codec: &'a mut T) -> Self::NextFuture<'_>;
}