#[non_exhaustive]pub enum ExternalStateError {
ContentMissing,
ContentMismatch,
StoreFailed,
}Expand description
Stable, value-redacted external-state-store failure.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ContentMissing
The referenced content does not exist in the store.
ContentMismatch
The resolved bytes do not match the declared content identity.
StoreFailed
The store could not durably retain the supplied bytes.
Trait Implementations§
Source§impl Clone for ExternalStateError
impl Clone for ExternalStateError
impl Copy for ExternalStateError
Source§impl Debug for ExternalStateError
impl Debug for ExternalStateError
Source§impl Display for ExternalStateError
impl Display for ExternalStateError
impl Eq for ExternalStateError
Source§impl Error for ExternalStateError
impl Error for ExternalStateError
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 PartialEq for ExternalStateError
impl PartialEq for ExternalStateError
impl StructuralPartialEq for ExternalStateError
Auto Trait Implementations§
impl Freeze for ExternalStateError
impl RefUnwindSafe for ExternalStateError
impl Send for ExternalStateError
impl Sync for ExternalStateError
impl Unpin for ExternalStateError
impl UnsafeUnpin for ExternalStateError
impl UnwindSafe for ExternalStateError
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