pub struct StorageFailure {
pub class: StorageFailureClass,
pub backend: &'static str,
pub operation: String,
pub detail: String,
pub retry_after_secs: Option<u32>,
}Expand description
Internal metadata retained for storage-related failures.
Fields§
§class: StorageFailureClass§backend: &'static str§operation: String§detail: String§retry_after_secs: Option<u32>Trait Implementations§
Source§impl Clone for StorageFailure
impl Clone for StorageFailure
Source§fn clone(&self) -> StorageFailure
fn clone(&self) -> StorageFailure
Returns a duplicate of the value. Read more
1.0.0 · 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 StorageFailure
impl Debug for StorageFailure
Source§impl Display for StorageFailure
impl Display for StorageFailure
Source§impl PartialEq for StorageFailure
impl PartialEq for StorageFailure
impl Eq for StorageFailure
impl StructuralPartialEq for StorageFailure
Auto Trait Implementations§
impl Freeze for StorageFailure
impl RefUnwindSafe for StorageFailure
impl Send for StorageFailure
impl Sync for StorageFailure
impl Unpin for StorageFailure
impl UnsafeUnpin for StorageFailure
impl UnwindSafe for StorageFailure
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.