pub trait HandleList<H> {
    // Required method
    async fn handle(handler: &H, req: &[u8]) -> Option<Result<Vec<u8>, Global>>;
}

Required Methods§

async fn handle(handler: &H, req: &[u8]) -> Option<Result<Vec<u8>, Global>>

Object Safety§

This trait is not object safe.

Implementors§

§

impl<H> HandleList<H> for Fail

§

impl<H, Req, Prev> HandleList<H> for With<Req, Prev>where H: Handle<Req>, Req: Request + for<'a> FromBytes<'a>, Prev: HandleList<H>, <Req as Request>::Response: ToBytes,