pub enum FieldError<TStorageError> {
StorageError(TStorageError),
Intercepted,
KeyNotFound(String),
}Variants§
Trait Implementations§
Source§impl<TStorageError: Debug> Debug for FieldError<TStorageError>
impl<TStorageError: Debug> Debug for FieldError<TStorageError>
Source§impl<TStorageError> Display for FieldError<TStorageError>where
TStorageError: Display,
impl<TStorageError> Display for FieldError<TStorageError>where
TStorageError: Display,
Source§impl<TStorageError> Error for FieldError<TStorageError>
impl<TStorageError> Error for FieldError<TStorageError>
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()
Auto Trait Implementations§
impl<TStorageError> Freeze for FieldError<TStorageError>where
TStorageError: Freeze,
impl<TStorageError> RefUnwindSafe for FieldError<TStorageError>where
TStorageError: RefUnwindSafe,
impl<TStorageError> Send for FieldError<TStorageError>where
TStorageError: Send,
impl<TStorageError> Sync for FieldError<TStorageError>where
TStorageError: Sync,
impl<TStorageError> Unpin for FieldError<TStorageError>where
TStorageError: Unpin,
impl<TStorageError> UnsafeUnpin for FieldError<TStorageError>where
TStorageError: UnsafeUnpin,
impl<TStorageError> UnwindSafe for FieldError<TStorageError>where
TStorageError: 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