Skip to main content

into_media

Function into_media 

Source
pub(super) fn into_media(data: Metadata, content: Vec<u8>) -> Media
Expand description

Transfers stored metadata and content into a media response.

Content type and disposition move out of the metadata row without cloning.