#[non_exhaustive]pub enum LocalFailurePolicy {
CancelSiblings,
DrainSiblings,
}Expand description
The sibling behavior selected after one local child fails.
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.
CancelSiblings
Request cooperative cancellation of siblings, then join all children.
DrainSiblings
Allow siblings to reach their next boundary, then join all children.
Trait Implementations§
Source§impl Clone for LocalFailurePolicy
impl Clone for LocalFailurePolicy
impl Copy for LocalFailurePolicy
Source§impl Debug for LocalFailurePolicy
impl Debug for LocalFailurePolicy
Source§impl Default for LocalFailurePolicy
impl Default for LocalFailurePolicy
impl Eq for LocalFailurePolicy
Source§impl Hash for LocalFailurePolicy
impl Hash for LocalFailurePolicy
Source§impl Ord for LocalFailurePolicy
impl Ord for LocalFailurePolicy
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 LocalFailurePolicy
impl PartialEq for LocalFailurePolicy
Source§impl PartialOrd for LocalFailurePolicy
impl PartialOrd for LocalFailurePolicy
impl StructuralPartialEq for LocalFailurePolicy
Auto Trait Implementations§
impl Freeze for LocalFailurePolicy
impl RefUnwindSafe for LocalFailurePolicy
impl Send for LocalFailurePolicy
impl Sync for LocalFailurePolicy
impl Unpin for LocalFailurePolicy
impl UnsafeUnpin for LocalFailurePolicy
impl UnwindSafe for LocalFailurePolicy
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