[−][src]Trait operator::content::Render
Associated Types
Loading content...Required methods
pub 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,
[src]
&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,
Implementors
impl Render for UnregisteredTemplate
[src]
type Output = InMemoryBody
pub fn render<'accept, ServerInfo, Engine, Accept>(
&self,
context: RenderContext<'_, 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,
[src]
&self,
context: RenderContext<'_, 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,
impl Render for ContentRepresentations
[src]
type Output = Box<dyn ByteStream>
pub fn render<'accept, ServerInfo, Engine, Accept>(
&self,
context: RenderContext<'_, 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,
[src]
&self,
context: RenderContext<'_, 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,