pub trait Handle<Cx, Req>where
    Req: Request,{
    // Required method
    async fn handle(
        self,
        req: Req,
        cx: Cx
    ) -> Result<Req::Response, Error<impl Scope>>;
}

Required Methods§

source

async fn handle( self, req: Req, cx: Cx ) -> Result<Req::Response, Error<impl Scope>>

Implementors§

source§

impl<T, Cx> Handle<Cx, &[u8]> for Twhere T: Handles<Cx>,