Trait operator::content::Render [−][src]
pub trait Render {
type Output;
fn render<'engine, 'accept, ServerInfo, Engine, Accept>(
&self,
context: RenderContext<'engine, ServerInfo, Engine>,
acceptable_media_ranges: Accept
) -> Result<Media<Self::Output>, RenderError>
where
ServerInfo: Clone + Serialize,
Engine: ContentEngine<ServerInfo>,
Accept: IntoIterator<Item = &'accept MediaRange>,
Self::Output: ByteStream;
}