Trait hvcg_iam_openapi_identity::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>
fn with_context(self, context: C) -> ContextWrapper<Self, C>
Binds this API to a context.