Skip to main content

RethAuthHttpMiddleware

Trait RethAuthHttpMiddleware 

Source
pub trait RethAuthHttpMiddleware<RM>:
    Layer<AuthHttpService<RM>, Service: Service<HttpRequest, Response = HttpResponse, Error = BoxError, Future: Send> + Send + Clone>
    + Clone
    + Send
    + 'static { }
Expand description

Helper alias trait for auth-server HTTP transport middleware layers.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T, RM> RethAuthHttpMiddleware<RM> for T
where T: Layer<AuthHttpService<RM>, Service: Service<HttpRequest, Response = HttpResponse, Error = BoxError, Future: Send> + Send + Clone> + Clone + Send + 'static,