pub struct RecoveryCompletion { /* private fields */ }Expand description
Completed recovery state with retained results and post-operation reporting.
This typestate is Send.
Implementations§
Source§impl RecoveryCompletion
impl RecoveryCompletion
Sourcepub const fn outcome(&self) -> &RecoveryOutcome
pub const fn outcome(&self) -> &RecoveryOutcome
Returns both retained operation outcomes.
Sourcepub fn affected_applications(&mut self) -> Result<AffectedApplications>
pub fn affected_applications(&mut self) -> Result<AffectedApplications>
Takes a post-operation affected-application snapshot.
Sourcepub fn end(self) -> Result<RecoveryOutcome>
pub fn end(self) -> Result<RecoveryOutcome>
Ends the session and returns both retained operation outcomes.
If ending fails, destruction retries the native end once.
Auto Trait Implementations§
impl Freeze for RecoveryCompletion
impl RefUnwindSafe for RecoveryCompletion
impl Send for RecoveryCompletion
impl Sync for RecoveryCompletion
impl Unpin for RecoveryCompletion
impl UnsafeUnpin for RecoveryCompletion
impl UnwindSafe for RecoveryCompletion
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