pub trait UseStateGuardOnApp<Guard, Args, Error> {
    // Required method
    fn use_state_guard(self, guard: Guard, scope: Scope) -> Self;
}

Required Methods§

source

fn use_state_guard(self, guard: Guard, scope: Scope) -> Self

Implementations on Foreign Types§

source§

impl<Guard, Args, Error, T> UseStateGuardOnApp<Guard, Args, Error> for App<T>where T: ServiceFactory<ServiceRequest, Config = (), Error = ActixWebError, InitError = ()>, Guard: GuardTrait<Args, Error>, Error: ResponseError + 'static, Args: FromRequest + 'static,

source§

fn use_state_guard(self, guard: Guard, scope: Scope) -> Self

Implementors§