Trait hvcg_student_openapi_application::ContextWrapperExt [−][src]
pub trait ContextWrapperExt<C: Send + Sync> where
Self: Sized, { fn with_context(self, context: C) -> ContextWrapper<Self, C>; }
Expand description
Trait to extend an API to make it easy to bind it to a context.
Required methods
fn with_context(self, context: C) -> ContextWrapper<Self, C>
[src]
fn with_context(self, context: C) -> ContextWrapper<Self, C>
[src]Binds this API to a context.
Implementors
impl<T: Api<C> + Send + Sync, C: Clone + Send + Sync> ContextWrapperExt<C> for T
[src]
impl<T: Api<C> + Send + Sync, C: Clone + Send + Sync> ContextWrapperExt<C> for T
[src]