pub struct AxumContextFactory;Expand description
Factory for creating apcore contexts from Axum request parts.
Implementations§
Source§impl AxumContextFactory
impl AxumContextFactory
Sourcepub fn create_from_parts(
&self,
parts: &Parts,
) -> Result<Context<Value>, AxumApcoreError>
pub fn create_from_parts( &self, parts: &Parts, ) -> Result<Context<Value>, AxumApcoreError>
Create an apcore Context from Axum request parts.
Auto Trait Implementations§
impl Freeze for AxumContextFactory
impl RefUnwindSafe for AxumContextFactory
impl Send for AxumContextFactory
impl Sync for AxumContextFactory
impl Unpin for AxumContextFactory
impl UnsafeUnpin for AxumContextFactory
impl UnwindSafe for AxumContextFactory
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