Enum persy::IndexOpsError
source · [−]pub enum IndexOpsError {
Generic(GenericError),
IndexNotFound,
IndexTypeMismatch(Cow<'static, str>),
}
Variants
Generic(GenericError)
IndexNotFound
IndexTypeMismatch(Cow<'static, str>)
Trait Implementations
sourceimpl Debug for IndexOpsError
impl Debug for IndexOpsError
sourceimpl Display for IndexOpsError
impl Display for IndexOpsError
sourceimpl Error for IndexOpsError
impl Error for IndexOpsError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<GenericError> for IndexOpsError
impl From<GenericError> for IndexOpsError
sourcefn from(source: GenericError) -> Self
fn from(source: GenericError) -> Self
Performs the conversion.
sourceimpl From<IndexError> for IndexOpsError
impl From<IndexError> for IndexOpsError
sourcefn from(e: IndexError) -> Self
fn from(e: IndexError) -> Self
Performs the conversion.
sourceimpl From<IndexOpsError> for PersyError
impl From<IndexOpsError> for PersyError
sourcefn from(e: IndexOpsError) -> Self
fn from(e: IndexOpsError) -> Self
Performs the conversion.
sourceimpl From<IndexOpsError> for IndexChangeError
impl From<IndexOpsError> for IndexChangeError
sourcefn from(e: IndexOpsError) -> Self
fn from(e: IndexOpsError) -> Self
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for IndexOpsError
impl Send for IndexOpsError
impl Sync for IndexOpsError
impl Unpin for IndexOpsError
impl !UnwindSafe for IndexOpsError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more