Struct finchers_template::RenderEndpoint[][src]

pub struct RenderEndpoint<T, E> { /* fields omitted */ }

The type of endpoint which renders a Tera template with the value of specified context type.

Trait Implementations

impl<T: Debug, E: Debug> Debug for RenderEndpoint<T, E>
[src]

Formats the value using the given formatter. Read more

impl<'a, T, E, CtxT> Endpoint<'a> for RenderEndpoint<T, E> where
    T: TemplateEngine + 'a,
    E: Endpoint<'a, Output = (CtxT,)>,
    CtxT: Serialize
[src]

The inner type associated with this endpoint.

The type of value which will be returned from apply.

Perform checking the incoming HTTP request and returns an instance of the associated Future if matched. Read more

Add an annotation that the associated type Output is fixed to T.

Converts self using the provided Wrapper.

Auto Trait Implementations

impl<T, E> Send for RenderEndpoint<T, E> where
    E: Send,
    T: Send

impl<T, E> Sync for RenderEndpoint<T, E> where
    E: Sync,
    T: Sync