pub struct FusionStack(/* private fields */);Expand description
Fusion Stack: a service provider that renders errors, and the middleware for API routes. Cloning it is cheap, and every clone shares the same configuration.
Implementations§
Trait Implementations§
Source§impl Clone for FusionStack
impl Clone for FusionStack
Source§impl Middleware for FusionStack
impl Middleware for FusionStack
Auto Trait Implementations§
impl !RefUnwindSafe for FusionStack
impl !UnwindSafe for FusionStack
impl Forget for FusionStack
impl Freeze for FusionStack
impl Move for FusionStack
impl Send for FusionStack
impl Sync for FusionStack
impl Unpin for FusionStack
impl UnsafeUnpin for FusionStack
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<M> IntoMiddleware for Mwhere
M: Middleware,
impl<M> IntoMiddleware for Mwhere
M: Middleware,
Source§fn into_group(self) -> MiddlewareGroup
fn into_group(self) -> MiddlewareGroup
Convert into a group.