Struct aws_smithy_http_server::plugin::LayerPlugin
source · pub struct LayerPlugin<L>(pub L);
Expand description
A Plugin
which acts as a [Layer
] L
.
Tuple Fields§
§0: L
Trait Implementations§
source§impl<Ser, Op, S, L> Plugin<Ser, Op, S> for LayerPlugin<L>where
L: Layer<S>,
impl<Ser, Op, S, L> Plugin<Ser, Op, S> for LayerPlugin<L>where L: Layer<S>,
impl<L> HttpMarker for LayerPlugin<L>
impl<L> ModelMarker for LayerPlugin<L>
Auto Trait Implementations§
impl<L> RefUnwindSafe for LayerPlugin<L>where L: RefUnwindSafe,
impl<L> Send for LayerPlugin<L>where L: Send,
impl<L> Sync for LayerPlugin<L>where L: Sync,
impl<L> Unpin for LayerPlugin<L>where L: Unpin,
impl<L> UnwindSafe for LayerPlugin<L>where L: UnwindSafe,
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