Trait bird_protocol_server::handler::ReadHandler
source · [−]pub trait ReadHandler: Sized + Sync + Send {
fn handle<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
connection: Arc<Connection>,
state: &'life1 mut PacketState,
input: &'life2 mut impl 'async_trait + InputPacketBytes
) -> Pin<Box<dyn Future<Output = PacketReadableResult<()>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait;
}