#[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
Source§fn clone(&self) -> InFlightPolicy
fn clone(&self) -> InFlightPolicy
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 InFlightPolicy
Source§impl Debug for InFlightPolicy
impl Debug for InFlightPolicy
Source§impl Default for InFlightPolicy
impl Default for InFlightPolicy
Source§fn default() -> InFlightPolicy
fn default() -> InFlightPolicy
Returns the “default value” for a type. Read more
impl Eq for InFlightPolicy
Source§impl Hash for InFlightPolicy
impl Hash for InFlightPolicy
Source§impl Ord for InFlightPolicy
impl Ord for InFlightPolicy
Source§fn cmp(&self, other: &InFlightPolicy) -> Ordering
fn cmp(&self, other: &InFlightPolicy) -> 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
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