pub struct InstallSteps(/* private fields */);Expand description
Changes to the system that need to be applied to do the installation.
Returned by Spec::prepare_install.Use
install() to apply all changes at once. This
implements IntoIterator yielding InstallSteps. These
steps can be described possibly in detail and/or performed one by one.
Implementations§
Source§impl InstallSteps
impl InstallSteps
Sourcepub fn install(self) -> Result<String, Box<dyn Error + Send + Sync + 'static>>
pub fn install(self) -> Result<String, Box<dyn Error + Send + Sync + 'static>>
Perform all steps needed to install.
§Errors
The system can change between preparing to install and actually installing. For example all disk space could be used. Or the install could run into an error that was not checked for while preparing. If you find this happens please make an issue.
Trait Implementations§
Source§impl Debug for InstallSteps
impl Debug for InstallSteps
Source§impl Display for InstallSteps
impl Display for InstallSteps
Source§impl IntoIterator for InstallSteps
impl IntoIterator for InstallSteps
Auto Trait Implementations§
impl Freeze for InstallSteps
impl !RefUnwindSafe for InstallSteps
impl !Send for InstallSteps
impl !Sync for InstallSteps
impl Unpin for InstallSteps
impl !UnwindSafe for InstallSteps
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