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, InstallError>
pub fn install(self) -> Result<String, InstallError>
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more