Enum perseus::errors::StoreError
source · pub enum StoreError {
NotFound {
name: String,
},
ReadFailed {
name: String,
source: Box<dyn Error + Send + Sync>,
},
WriteFailed {
name: String,
source: Box<dyn Error + Send + Sync>,
},
}
Expand description
Errors that can occur while reading from or writing to a mutable or immutable store.
Variants§
Trait Implementations§
source§impl Debug for StoreError
impl Debug for StoreError
source§impl Display for StoreError
impl Display for StoreError
source§impl Error for StoreError
impl Error for StoreError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<StoreError> for ServerError
impl From<StoreError> for ServerError
source§fn from(source: StoreError) -> Self
fn from(source: StoreError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for StoreError
impl Send for StoreError
impl Sync for StoreError
impl Unpin for StoreError
impl !UnwindSafe for StoreError
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