Enum persy::IndexOpsError
source · #[non_exhaustive]pub enum IndexOpsError {
Generic(GenericError),
IndexNotFound,
IndexTypeMismatch(Cow<'static, str>),
}
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.
Trait Implementations§
source§impl Debug for IndexOpsError
impl Debug for IndexOpsError
source§impl Display for IndexOpsError
impl Display for IndexOpsError
source§impl Error for IndexOpsError
impl Error for IndexOpsError
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<GenericError> for IndexOpsError
impl From<GenericError> for IndexOpsError
source§fn from(source: GenericError) -> Self
fn from(source: GenericError) -> Self
Converts to this type from the input type.
source§impl From<IndexError> for IndexOpsError
impl From<IndexError> for IndexOpsError
source§fn from(e: IndexError) -> Self
fn from(e: IndexError) -> Self
Converts to this type from the input type.
source§impl From<IndexOpsError> for IndexChangeError
impl From<IndexOpsError> for IndexChangeError
source§fn from(e: IndexOpsError) -> Self
fn from(e: IndexOpsError) -> Self
Converts to this type from the input type.
source§impl From<IndexOpsError> for IndexPutError
impl From<IndexOpsError> for IndexPutError
source§fn from(e: IndexOpsError) -> Self
fn from(e: IndexOpsError) -> Self
Converts to this type from the input type.
source§impl From<IndexOpsError> for PersyError
impl From<IndexOpsError> for PersyError
source§fn from(e: IndexOpsError) -> Self
fn from(e: IndexOpsError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IndexOpsError
impl !RefUnwindSafe for IndexOpsError
impl Send for IndexOpsError
impl Sync for IndexOpsError
impl Unpin for IndexOpsError
impl !UnwindSafe for IndexOpsError
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