[][src]Function mail_core::default_impl::load_data

pub fn load_data<R, F>(
    path: PathBuf,
    use_media_type: UseMediaType,
    use_file_name: Option<String>,
    ctx: &impl Context,
    post_process: F
) -> SendBoxFuture<R, ResourceLoadingError> where
    R: Send + 'static,
    F: FnOnce(Data) -> Result<R, ResourceLoadingError> + Send + 'static,