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