[−][src]Function mail::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
) -> Box<dyn Future<Item = R, Error = ResourceLoadingError> + 'static + Send> where
F: FnOnce(Data) -> Result<R, ResourceLoadingError> + Send + 'static,
R: Send + 'static,