[−][src]Type Definition graph_http::AsyncDownload
type AsyncDownload = DownloadClient<HttpClient<Arc<Mutex<GraphRequest<Client, Body, Form>>>>, Arc<Mutex<DownloadRequest>>>;
type AsyncDownload = DownloadClient<HttpClient<Arc<Mutex<GraphRequest<Client, Body, Form>>>>, Arc<Mutex<DownloadRequest>>>;
impl AsyncDownload
[src]pub fn new_async(client: GraphRequest<Client, Body, Form>) -> AsyncDownload
[src]pub async fn create_dir_all<'_, '_>(&'_ self, value: bool) -> &'_ Self
[src]pub async fn is_create_dir_all<'_>(&'_ self) -> bool
[src]pub async fn overwrite_existing_file<'_, '_>(&'_ self, value: bool) -> &'_ Self
[src]pub async fn is_overwrite_existing_file<'_>(&'_ self) -> bool
[src]pub async fn rename<'_, '_>(&'_ self, value: OsString) -> &'_ Self
[src]pub async fn set_extension<'_, '_, '_>(&'_ self, value: &'_ str) -> &'_ Self
[src]pub async fn set_dir<P: AsRef<Path>, '_, '_>(&'_ self, path: P) -> &'_ Self
[src]pub async fn directory<'_>(&'_ self) -> PathBuf
[src]pub async fn file_name<'_>(&'_ self) -> Option<OsString>
[src]pub async fn extension<'_>(&'_ self) -> Option<String>
[src]pub async fn url<'_>(&'_ self) -> GraphUrl
[src]pub async fn format<'_, '_>(&'_ self, format: &'_ str)
[src]pub async fn send(self) -> GraphResult<PathBuf>
[src]