#[non_exhaustive]pub enum Settlement {
Committed,
Aborted,
}Expand description
How the cutover ended, as told to CutoverParticipant::settle.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Committed
The new root is the authority and every participant reopened there.
Aborted
The cutover failed before the switch: resume at the old root.
Trait Implementations§
Source§impl Clone for Settlement
impl Clone for Settlement
impl Copy for Settlement
Source§impl Debug for Settlement
impl Debug for Settlement
impl Eq for Settlement
Source§impl PartialEq for Settlement
impl PartialEq for Settlement
impl StructuralPartialEq for Settlement
Auto Trait Implementations§
impl Freeze for Settlement
impl RefUnwindSafe for Settlement
impl Send for Settlement
impl Sync for Settlement
impl Unpin for Settlement
impl UnsafeUnpin for Settlement
impl UnwindSafe for Settlement
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