[][src]Type Definition graph_http::AsyncDownload

type AsyncDownload = DownloadClient<HttpClient<Arc<Mutex<GraphRequest<Client, Body, Form>>>>, Arc<Mutex<DownloadRequest>>>;

Implementations

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]