[][src]Struct display_as::As

pub struct As<'a, F: Format, T: DisplayAs<F> + ?Sized> { /* fields omitted */ }

Choose to Display this type using a particular Format F.

Trait Implementations

impl<'a, F: Format, T: DisplayAs<F> + ?Sized> Display for As<'a, F, T>[src]

impl<'a, F: Format, T: DisplayAs<F> + ?Sized> From<&'a T> for As<'a, F, T>[src]

impl<'a, F: Format, T: DisplayAs<F>> Into<Response> for As<'a, F, T>[src]

impl<'a, F: Format, T: 'a + DisplayAs<F>> IntoResponse for As<'a, F, T>[src]

impl<'a, F: Format, T: DisplayAs<F> + Sync> Reply for As<'a, F, T>[src]

fn into_response(self) -> Response[src]

Convert into a warp::Reply.

impl<'a, F: Format, T: 'a + DisplayAs<F>> Responder for As<'a, F, T>[src]

type Item = HttpResponse

The associated item which can be returned.

type Error = Error

The associated error which can be returned.

Auto Trait Implementations

impl<'a, F, T: ?Sized> RefUnwindSafe for As<'a, F, T> where
    F: RefUnwindSafe,
    T: RefUnwindSafe

impl<'a, F, T: ?Sized> Send for As<'a, F, T> where
    T: Sync

impl<'a, F, T: ?Sized> Sync for As<'a, F, T> where
    T: Sync

impl<'a, F, T: ?Sized> Unpin for As<'a, F, T> where
    F: Unpin

impl<'a, F, T: ?Sized> UnwindSafe for As<'a, F, T> where
    F: UnwindSafe,
    T: RefUnwindSafe

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> Erased for T

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,