pub enum ReceiptPollError {
Store(PushStoreError),
Push(PushError),
}Expand description
A failure that stopped a receipt poll.
Taken tickets stay recorded and come due again after RECEIPT_POLL_DELAY.
Variants§
Store(PushStoreError)
The pending receipt store or the registry failed.
Push(PushError)
The provider’s receipt request failed.
Trait Implementations§
Source§impl Clone for ReceiptPollError
impl Clone for ReceiptPollError
Source§impl Debug for ReceiptPollError
impl Debug for ReceiptPollError
Source§impl Display for ReceiptPollError
impl Display for ReceiptPollError
impl Eq for ReceiptPollError
Source§impl Error for ReceiptPollError
impl Error for ReceiptPollError
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 From<PushError> for ReceiptPollError
impl From<PushError> for ReceiptPollError
Source§impl From<PushStoreError> for ReceiptPollError
impl From<PushStoreError> for ReceiptPollError
Source§fn from(source: PushStoreError) -> Self
fn from(source: PushStoreError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ReceiptPollError
impl PartialEq for ReceiptPollError
impl StructuralPartialEq for ReceiptPollError
Auto Trait Implementations§
impl Freeze for ReceiptPollError
impl RefUnwindSafe for ReceiptPollError
impl Send for ReceiptPollError
impl Sync for ReceiptPollError
impl Unpin for ReceiptPollError
impl UnsafeUnpin for ReceiptPollError
impl UnwindSafe for ReceiptPollError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.