pub struct Adapter<H: Handler> { /* private fields */ }Expand description
Exists only to satisfy the trait cover rule for lambda::Handler impl
User code should never need to interact with this type directly. Since Adapter implements Handler
It serves as a opaque trait covering type.
See this article for a larger explaination of why this is nessessary
Trait Implementations§
Auto Trait Implementations§
impl<H> Freeze for Adapter<H>where
H: Freeze,
impl<H> RefUnwindSafe for Adapter<H>where
H: RefUnwindSafe,
impl<H> Send for Adapter<H>where
H: Send,
impl<H> Sync for Adapter<H>where
H: Sync,
impl<H> Unpin for Adapter<H>where
H: Unpin,
impl<H> UnwindSafe for Adapter<H>where
H: 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