pub struct Downloader { /* private fields */ }Implementations§
Source§impl Downloader
impl Downloader
pub fn new(version: CliVersion) -> Self
pub fn archive_url(&self) -> String
pub fn checksum_url(&self) -> String
pub fn cache_dir(&self) -> Result<PathBuf>
pub async fn get_cli(&self) -> Result<PathBuf, DaggerError>
pub async fn extract_cli_archive(&self, dest: &mut Vec<u8>) -> Result<String>
Auto Trait Implementations§
impl Freeze for Downloader
impl RefUnwindSafe for Downloader
impl Send for Downloader
impl Sync for Downloader
impl Unpin for Downloader
impl UnsafeUnpin for Downloader
impl UnwindSafe for Downloader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more