pub struct KillOld { /* private fields */ }Trait Implementations§
Source§impl InstallStep for KillOld
impl InstallStep for KillOld
Source§fn describe(&self, tense: Tense) -> String
fn describe(&self, tense: Tense) -> String
A short (one line) description of what running perform will
do. Pass in the tense you want for the description (past, present or
future)
Source§fn perform(&mut self) -> Result<Option<Box<dyn RollbackStep>>, InstallError>
fn perform(&mut self) -> Result<Option<Box<dyn RollbackStep>>, InstallError>
Perform this install step making a change to the system. This may return
a
RollbackStep that can be used to undo the change made in the
future. This can be used in an install wizard to roll back changes when
an error happens. Read moreSource§fn describe_detailed(&self, tense: Tense) -> String
fn describe_detailed(&self, tense: Tense) -> String
A verbose description of what running perform will do to the
system. Includes as many details as possible. Pass in the tense you want
for the description (past, present or future)
Source§fn options(&self) -> Option<StepOptions>
fn options(&self) -> Option<StepOptions>
Is this a question and if so what options does the user have for responding?
Auto Trait Implementations§
impl Freeze for KillOld
impl RefUnwindSafe for KillOld
impl Send for KillOld
impl Sync for KillOld
impl Unpin for KillOld
impl UnwindSafe for KillOld
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