pub struct UbuntuDownloader { /* private fields */ }
Implementations§
Source§impl UbuntuDownloader
impl UbuntuDownloader
pub fn new(release: &str, revision: &str, variant: &str) -> Self
pub fn destination_path(&self) -> PathBuf
pub fn with_arch(self, arch: impl Into<String>) -> Self
pub fn with_dists( self, dists: impl IntoIterator<Item = impl Into<String>>, ) -> Self
pub fn with_archive_url(self, archive_url: Url) -> Self
pub fn with_ddebs_url(self, ddebs_url: Url) -> Self
pub fn with_output_directory(self, directory: impl Into<PathBuf>) -> Self
pub fn skip_existing(self) -> Self
pub fn download_linux_image(self) -> Self
pub fn download_linux_image_as(self, filename: impl Into<PathBuf>) -> Self
pub fn download_linux_image_dbgsym(self) -> Self
pub fn download_linux_image_dbgsym_as( self, filename: impl Into<PathBuf>, ) -> Self
pub fn download_linux_modules(self) -> Self
pub fn download_linux_modules_as(self, filename: impl Into<PathBuf>) -> Self
pub fn extract_linux_image(self) -> Self
pub fn extract_linux_image_as(self, filename: impl Into<PathBuf>) -> Self
pub fn extract_linux_image_dbgsym(self) -> Self
pub fn extract_linux_image_dbgsym_as(self, filename: impl Into<PathBuf>) -> Self
pub fn extract_systemmap(self) -> Self
pub fn extract_systemmap_as(self, filename: impl Into<PathBuf>) -> Self
pub fn download(self) -> Result<UbuntuPaths, Error>
Auto Trait Implementations§
impl Freeze for UbuntuDownloader
impl RefUnwindSafe for UbuntuDownloader
impl Send for UbuntuDownloader
impl Sync for UbuntuDownloader
impl Unpin for UbuntuDownloader
impl UnwindSafe for UbuntuDownloader
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