Trait saphir::RequestGuard[][src]

pub trait RequestGuard {
    fn validate(
        &self,
        req: &mut SyncRequest,
        res: &mut SyncResponse
    ) -> RequestContinuation; }

A trait to provide an other layer of validation before allowing a request into a controller

Required Methods

Implementors