#[non_exhaustive]pub enum InFlightPolicy {
FinishChunk,
RollbackChunk,
}Expand description
The accepted shutdown behavior for an already-open chunk.
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.
FinishChunk
Complete and commit the open chunk, then stop at its boundary.
RollbackChunk
Roll back the open chunk and preserve the prior checkpoint.
Trait Implementations§
Source§impl Clone for InFlightPolicy
impl Clone for InFlightPolicy
impl Copy for InFlightPolicy
Source§impl Debug for InFlightPolicy
impl Debug for InFlightPolicy
Source§impl Default for InFlightPolicy
impl Default for InFlightPolicy
impl Eq for InFlightPolicy
Source§impl Hash for InFlightPolicy
impl Hash for InFlightPolicy
Source§impl Ord for InFlightPolicy
impl Ord for InFlightPolicy
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 InFlightPolicy
impl PartialEq for InFlightPolicy
Source§impl PartialOrd for InFlightPolicy
impl PartialOrd for InFlightPolicy
impl StructuralPartialEq for InFlightPolicy
Auto Trait Implementations§
impl Freeze for InFlightPolicy
impl RefUnwindSafe for InFlightPolicy
impl Send for InFlightPolicy
impl Sync for InFlightPolicy
impl Unpin for InFlightPolicy
impl UnsafeUnpin for InFlightPolicy
impl UnwindSafe for InFlightPolicy
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