pub enum OnTimeoutAction {
Commit,
Rollback,
}Expand description
The action a graceful reconfiguration applies if its deadline passes before
the target replicas hydrate. Mirrors mz_sql::plan::OnTimeoutAction.
Variants§
Commit
Cut over to the (not-yet-hydrated) target anyway and clear the record.
Rollback
Drop the target replica set, reverting to the pre-reconfiguration shape, and retain the record as a tombstone.
Trait Implementations§
Source§impl Arbitrary for OnTimeoutAction
impl Arbitrary for OnTimeoutAction
Source§type Parameters = ()
type Parameters = ()
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = Union<BoxedStrategy<OnTimeoutAction>>
type Strategy = Union<BoxedStrategy<OnTimeoutAction>>
The type of
Strategy used to generate values of type Self.Source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
Source§impl Clone for OnTimeoutAction
impl Clone for OnTimeoutAction
Source§fn clone(&self) -> OnTimeoutAction
fn clone(&self) -> OnTimeoutAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OnTimeoutAction
Source§impl Debug for OnTimeoutAction
impl Debug for OnTimeoutAction
Source§impl<'de> Deserialize<'de> for OnTimeoutAction
impl<'de> Deserialize<'de> for OnTimeoutAction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for OnTimeoutAction
Source§impl Ord for OnTimeoutAction
impl Ord for OnTimeoutAction
Source§fn cmp(&self, other: &OnTimeoutAction) -> Ordering
fn cmp(&self, other: &OnTimeoutAction) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for OnTimeoutAction
impl PartialEq for OnTimeoutAction
Source§impl PartialOrd for OnTimeoutAction
impl PartialOrd for OnTimeoutAction
Source§impl Serialize for OnTimeoutAction
impl Serialize for OnTimeoutAction
impl StructuralPartialEq for OnTimeoutAction
Auto Trait Implementations§
impl Freeze for OnTimeoutAction
impl RefUnwindSafe for OnTimeoutAction
impl Send for OnTimeoutAction
impl Sync for OnTimeoutAction
impl Unpin for OnTimeoutAction
impl UnsafeUnpin for OnTimeoutAction
impl UnwindSafe for OnTimeoutAction
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