Struct lamedh_http::Adapter[][src]

pub struct Adapter<H: Handler> { /* fields omitted */ }

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

impl<H: Handler> Handler for Adapter<H>[src]

type Response = H::Response

The type of Response this Handler will return

type Error = H::Error

The type of Error that this Handler will return

type Fut = H::Fut

The type of Future this Handler will return

Auto Trait Implementations

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.