[][src]Struct tsukuyomi::output::Rendered

pub struct Rendered<T, P>(_, _);

A Responder that uses the specified preset.

Trait Implementations

impl<T, P> Responder for Rendered<T, P> where
    P: Preset<T>, 
[src]

type Upgrade = P::Upgrade

The type of asynchronous object to be ran after upgrading the protocol.

type Error = P::Error

The error type that will be thrown by this responder.

type Respond = P::Respond

The asynchronous task converted from this responder.

Auto Trait Implementations

impl<T, P> Send for Rendered<T, P> where
    P: Send,
    T: Send

impl<T, P> Sync for Rendered<T, P> where
    P: Sync,
    T: Sync

Blanket Implementations

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

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

impl<T> Responder for T where
    T: IntoResponse
[src]

type Upgrade = NeverUpgrade

The type of asynchronous object to be ran after upgrading the protocol.

type Error = Never

The error type that will be thrown by this responder.

type Respond = IntoResponseRespond<T>

The asynchronous task converted from this responder.

impl<T> From for T[src]

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

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> Erased for T