pub enum RetryDecision {
Refresh {
new_signer: Arc<dyn Signer>,
},
Fail,
}Expand description
Decision returned by a signer after receiving an unauthorized upstream error.
Variants§
Trait Implementations§
Source§impl Clone for RetryDecision
impl Clone for RetryDecision
Source§fn clone(&self) -> RetryDecision
fn clone(&self) -> RetryDecision
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for RetryDecision
impl !UnwindSafe for RetryDecision
impl Freeze for RetryDecision
impl Send for RetryDecision
impl Sync for RetryDecision
impl Unpin for RetryDecision
impl UnsafeUnpin for RetryDecision
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