pub struct AddPyContextLayer { /* private fields */ }
Expand description
AddPyContextLayer is a tower::Layer that populates given PyContext from the Request and injects PyContext to the Request as an extension.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AddPyContextLayer
impl !RefUnwindSafe for AddPyContextLayer
impl Send for AddPyContextLayer
impl Sync for AddPyContextLayer
impl Unpin for AddPyContextLayer
impl UnwindSafe for AddPyContextLayer
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
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>
Creates a shared type from an unshared type.