pub enum DiagnosticRetryCategory {
Ineligible,
ExplicitPolicy,
}Expand description
Retry classification copied from validated operation metadata.
Variants§
Ineligible
Operation metadata forbids retry.
ExplicitPolicy
Retry requires an explicit caller-owned policy.
Trait Implementations§
Source§impl Clone for DiagnosticRetryCategory
impl Clone for DiagnosticRetryCategory
Source§fn clone(&self) -> DiagnosticRetryCategory
fn clone(&self) -> DiagnosticRetryCategory
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 DiagnosticRetryCategory
Source§impl Debug for DiagnosticRetryCategory
impl Debug for DiagnosticRetryCategory
impl Eq for DiagnosticRetryCategory
Source§impl From<RetryEligibility> for DiagnosticRetryCategory
impl From<RetryEligibility> for DiagnosticRetryCategory
Source§fn from(value: RetryEligibility) -> Self
fn from(value: RetryEligibility) -> Self
Converts to this type from the input type.
Source§impl Hash for DiagnosticRetryCategory
impl Hash for DiagnosticRetryCategory
Source§impl Ord for DiagnosticRetryCategory
impl Ord for DiagnosticRetryCategory
Source§fn cmp(&self, other: &DiagnosticRetryCategory) -> Ordering
fn cmp(&self, other: &DiagnosticRetryCategory) -> 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 DiagnosticRetryCategory
impl PartialEq for DiagnosticRetryCategory
Source§impl PartialOrd for DiagnosticRetryCategory
impl PartialOrd for DiagnosticRetryCategory
impl StructuralPartialEq for DiagnosticRetryCategory
Auto Trait Implementations§
impl Freeze for DiagnosticRetryCategory
impl RefUnwindSafe for DiagnosticRetryCategory
impl Send for DiagnosticRetryCategory
impl Sync for DiagnosticRetryCategory
impl Unpin for DiagnosticRetryCategory
impl UnsafeUnpin for DiagnosticRetryCategory
impl UnwindSafe for DiagnosticRetryCategory
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