Trait swagger::context::ContextWrapperExt
[−]
[src]
pub trait ContextWrapperExt<'a, C> where
Self: Sized, { fn with_context(&'a self, context: C) -> ContextWrapper<'a, Self, C> { ... } }
Trait to extend an API to make it easy to bind it to a context.
Provided Methods
fn with_context(&'a self, context: C) -> ContextWrapper<'a, Self, C>
Binds this API to a context.