Struct actix_web_lab::middleware::LoadShed
source · #[non_exhaustive]pub struct LoadShed;
Expand description
A middleware that sheds load when the inner service isn’t ready.
Implementations§
Trait Implementations§
source§impl<S: Service<Req>, Req> Transform<S, Req> for LoadShed
impl<S: Service<Req>, Req> Transform<S, Req> for LoadShed
Auto Trait Implementations§
impl RefUnwindSafe for LoadShed
impl Send for LoadShed
impl Sync for LoadShed
impl Unpin for LoadShed
impl UnwindSafe for LoadShed
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more