pub struct GuidedErrorMiddleware<S> { /* private fields */ }Expand description
Middleware that enriches error responses with guided try suggestions (DEPRECATED - no-op)
Implementations§
Source§impl<S> GuidedErrorMiddleware<S>
impl<S> GuidedErrorMiddleware<S>
pub fn new(inner: S, registry: Arc<ActivationRegistry>) -> Self
Trait Implementations§
Source§impl<S: Clone> Clone for GuidedErrorMiddleware<S>
impl<S: Clone> Clone for GuidedErrorMiddleware<S>
Source§fn clone(&self) -> GuidedErrorMiddleware<S>
fn clone(&self) -> GuidedErrorMiddleware<S>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<S> Freeze for GuidedErrorMiddleware<S>where
S: Freeze,
impl<S> RefUnwindSafe for GuidedErrorMiddleware<S>where
S: RefUnwindSafe,
impl<S> Send for GuidedErrorMiddleware<S>where
S: Send,
impl<S> Sync for GuidedErrorMiddleware<S>where
S: Sync,
impl<S> Unpin for GuidedErrorMiddleware<S>where
S: Unpin,
impl<S> UnsafeUnpin for GuidedErrorMiddleware<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for GuidedErrorMiddleware<S>where
S: UnwindSafe,
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