pub struct ImageBuilder { /* private fields */ }Implementations§
Source§impl ImageBuilder
impl ImageBuilder
pub fn new(dest: impl AsRef<Path>) -> Self
pub fn name(self, name: &str) -> Self
pub fn config(self, config: Vec<u8>) -> Self
pub fn public(self, public: bool) -> Self
pub fn password(self, password: &str) -> Self
pub fn password_opt(self, password: Option<String>) -> Self
pub fn progress<'a, F>(&'a mut self, progress: F) -> &'a mut Self
Auto Trait Implementations§
impl Freeze for ImageBuilder
impl !RefUnwindSafe for ImageBuilder
impl !Send for ImageBuilder
impl !Sync for ImageBuilder
impl Unpin for ImageBuilder
impl !UnwindSafe for ImageBuilder
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