pub enum CleanupDisposition {
Cleaned,
RetainedForRecovery,
}Expand description
How transaction-owned temporary evidence was handled.
This replaces the former PostCommitFailurePolicy::{Cleaned, RetainForRecovery} name, which conflated cleanup disposition with the
ADR-0002 post-commit KeepInstalled | RollBack policy. The ADR-0002 policy
is reserved for a future post-commit failure boundary and is not
implemented here.
Variants§
Cleaned
Owned temporary state was cleaned up.
RetainedForRecovery
Evidence was retained for an operator because cleanup was unsafe or failed.
Trait Implementations§
Source§impl Clone for CleanupDisposition
impl Clone for CleanupDisposition
impl Copy for CleanupDisposition
Source§impl Debug for CleanupDisposition
impl Debug for CleanupDisposition
impl Eq for CleanupDisposition
Source§impl PartialEq for CleanupDisposition
impl PartialEq for CleanupDisposition
impl StructuralPartialEq for CleanupDisposition
Auto Trait Implementations§
impl Freeze for CleanupDisposition
impl RefUnwindSafe for CleanupDisposition
impl Send for CleanupDisposition
impl Sync for CleanupDisposition
impl Unpin for CleanupDisposition
impl UnsafeUnpin for CleanupDisposition
impl UnwindSafe for CleanupDisposition
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