Type Definition graph_http::BlockingDownload

source ·
pub type BlockingDownload = DownloadClient<HttpClient<RefCell<BlockingClient>>, RefCell<DownloadRequest>>;

Implementations§

source§

impl BlockingDownload

source

pub fn new(client: BlockingClient) -> BlockingDownload

source

pub fn create_dir_all(&self, value: bool) -> &Self

source

pub fn is_create_dir_all(&self) -> bool

source

pub fn overwrite_existing_file(&self, value: bool) -> &Self

source

pub fn is_overwrite_existing_file(&self) -> bool

source

pub fn set_file_name(&self, value: OsString) -> &Self

source

pub fn set_extension(&self, value: &str) -> &Self

source

pub fn set_dir<P: AsRef<Path>>(&self, path: P) -> &Self

source

pub fn directory(&self) -> PathBuf

source

pub fn file_name(&self) -> Option<OsString>

source

pub fn extension(&self) -> Option<String>

source

pub fn url(&self) -> GraphUrl

source

pub fn format(&self, format: &str)

source

pub fn send(self) -> Result<PathBuf, BlockingDownloadError>