pub enum PushStoreError {
Internal(String),
}Expand description
A store failure.
The display text is fixed. The private diagnostics come from the database driver’s message, which carries no bound values, so neither form contains a device token.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PushStoreError
impl Clone for PushStoreError
Source§impl Debug for PushStoreError
impl Debug for PushStoreError
Source§impl Display for PushStoreError
impl Display for PushStoreError
impl Eq for PushStoreError
Source§impl Error for PushStoreError
impl Error for PushStoreError
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 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 PushStoreError
impl PartialEq for PushStoreError
impl StructuralPartialEq for PushStoreError
Auto Trait Implementations§
impl Freeze for PushStoreError
impl RefUnwindSafe for PushStoreError
impl Send for PushStoreError
impl Sync for PushStoreError
impl Unpin for PushStoreError
impl UnsafeUnpin for PushStoreError
impl UnwindSafe for PushStoreError
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.