pub trait Render<Respond, Output, Error> {
// Required method
fn render(self, respond: &mut Respond) -> Result<Output, Error>;
}
Expand description
Represent the ability of a segment of a string template to render template output.
Required Methods§
Sourcefn render(self, respond: &mut Respond) -> Result<Output, Error>
fn render(self, respond: &mut Respond) -> Result<Output, Error>
Optionally send a query the respond function for output, then render.