pub enum CacheOperationFailureReason {
StoreUnavailable,
RecordCorrupted,
WriteRejected,
}Expand description
Underlying cause reported by SDKError::CacheOperationFailure.
Variants§
The backing store could not be opened or migrated.
RecordCorrupted
A persisted record failed integrity validation.
WriteRejected
A write or eviction could not complete within budget.
Trait Implementations§
Source§impl Clone for CacheOperationFailureReason
impl Clone for CacheOperationFailureReason
Source§fn clone(&self) -> CacheOperationFailureReason
fn clone(&self) -> CacheOperationFailureReason
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 moreSource§impl Debug for CacheOperationFailureReason
impl Debug for CacheOperationFailureReason
Source§impl<'de> Deserialize<'de> for CacheOperationFailureReason
impl<'de> Deserialize<'de> for CacheOperationFailureReason
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CacheOperationFailureReason
impl StructuralPartialEq for CacheOperationFailureReason
Auto Trait Implementations§
impl Freeze for CacheOperationFailureReason
impl RefUnwindSafe for CacheOperationFailureReason
impl Send for CacheOperationFailureReason
impl Sync for CacheOperationFailureReason
impl Unpin for CacheOperationFailureReason
impl UnsafeUnpin for CacheOperationFailureReason
impl UnwindSafe for CacheOperationFailureReason
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