pub struct StoreError<T> {
pub error: Error,
pub value: T,
}
Expand description
The error returned by store
.
Contains the underlying error and the value that was not stored.
Fields§
§error: Error
The error that occurred.
value: T
The value that was not stored.
Trait Implementations§
Source§impl<T> From<StoreError<T>> for Error
impl<T> From<StoreError<T>> for Error
Source§fn from(value: StoreError<T>) -> Self
fn from(value: StoreError<T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> Freeze for StoreError<T>where
T: Freeze,
impl<T> RefUnwindSafe for StoreError<T>where
T: RefUnwindSafe,
impl<T> Send for StoreError<T>where
T: Send,
impl<T> Sync for StoreError<T>where
T: Sync,
impl<T> Unpin for StoreError<T>where
T: Unpin,
impl<T> UnwindSafe for StoreError<T>where
T: UnwindSafe,
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