Struct saphir::MiddlewareStack
source · pub struct MiddlewareStack { /* private fields */ }
Expand description
Struct representing the layering of middlewares in the server
Implementations
sourceimpl MiddlewareStack
impl MiddlewareStack
sourcepub fn resolve(
&self,
req: &mut SyncRequest,
res: &mut SyncResponse
) -> RequestContinuation
pub fn resolve(
&self,
req: &mut SyncRequest,
res: &mut SyncResponse
) -> RequestContinuation
Trait Implementations
sourceimpl Clone for MiddlewareStack
impl Clone for MiddlewareStack
Auto Trait Implementations
impl !RefUnwindSafe for MiddlewareStack
impl Send for MiddlewareStack
impl Sync for MiddlewareStack
impl Unpin for MiddlewareStack
impl !UnwindSafe for MiddlewareStack
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more