[−][src]Type Definition operator::content::ContentRepresentations
type ContentRepresentations = HashMap<MediaType, RegisteredContent>;
Trait Implementations
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,