pub enum Retryable<T> {
Retry,
Error(T),
}Expand description
Retryable wraps an error type and may ask manager to retry sending a command, this is useful for ctap1 where token will reply with “condition not sufficient” because user needs to press the button.
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Retryable<T>where
T: Freeze,
impl<T> RefUnwindSafe for Retryable<T>where
T: RefUnwindSafe,
impl<T> Send for Retryable<T>where
T: Send,
impl<T> Sync for Retryable<T>where
T: Sync,
impl<T> Unpin for Retryable<T>where
T: Unpin,
impl<T> UnsafeUnpin for Retryable<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Retryable<T>where
T: UnwindSafe,
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