Struct lemmy_utils::rate_limit::RateLimitedMiddleware [−][src]
pub struct RateLimitedMiddleware<S> { /* fields omitted */ }
Trait Implementations
impl<S> Service<ServiceRequest> for RateLimitedMiddleware<S> where
S: Service<ServiceRequest, Response = ServiceResponse, Error = Error>,
S::Future: 'static,
impl<S> Service<ServiceRequest> for RateLimitedMiddleware<S> where
S: Service<ServiceRequest, Response = ServiceResponse, Error = Error>,
S::Future: 'static,
Auto Trait Implementations
impl<S> !RefUnwindSafe for RateLimitedMiddleware<S>
impl<S> Send for RateLimitedMiddleware<S> where
S: Send,
impl<S> Sync for RateLimitedMiddleware<S> where
S: Sync,
impl<S> Unpin for RateLimitedMiddleware<S> where
S: Unpin,
impl<S> !UnwindSafe for RateLimitedMiddleware<S>
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn into_service(self) -> S
pub fn into_service(self) -> S
Convert to a Service
Convert self
to an expression for Diesel’s query builder. Read more
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
Convert &self
to an expression for Diesel’s query builder. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more