pub enum AuthOperationError {
CoordinationDeadline(String),
Terminal(String),
}Expand description
Classified failure for coordinator-backed auth operations.
A coordination deadline is known to occur before the requested state operation starts. Callers may distinguish it from terminal state, credential-store, or worker failures without parsing human-readable text.
Variants§
Implementations§
Source§impl AuthOperationError
impl AuthOperationError
Sourcepub fn is_coordination_deadline(&self) -> bool
pub fn is_coordination_deadline(&self) -> bool
Return whether this failure occurred before the requested state operation began.
Trait Implementations§
Source§impl Clone for AuthOperationError
impl Clone for AuthOperationError
Source§fn clone(&self) -> AuthOperationError
fn clone(&self) -> AuthOperationError
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 moreSource§impl Debug for AuthOperationError
impl Debug for AuthOperationError
Source§impl Display for AuthOperationError
impl Display for AuthOperationError
impl Eq for AuthOperationError
Source§impl Error for AuthOperationError
impl Error for AuthOperationError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for AuthOperationError
impl PartialEq for AuthOperationError
impl StructuralPartialEq for AuthOperationError
Auto Trait Implementations§
impl Freeze for AuthOperationError
impl RefUnwindSafe for AuthOperationError
impl Send for AuthOperationError
impl Sync for AuthOperationError
impl Unpin for AuthOperationError
impl UnsafeUnpin for AuthOperationError
impl UnwindSafe for AuthOperationError
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