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> + Send>
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> + Send>