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
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
Converts to this type from the input type.
sourceimpl From<IndexError> for IndexOpsError
impl From<IndexError> for IndexOpsError
sourcefn from(e: IndexError) -> Self
fn from(e: IndexError) -> Self
Converts to this type from the input type.
sourceimpl From<IndexOpsError> for IndexChangeError
impl From<IndexOpsError> for IndexChangeError
sourcefn from(e: IndexOpsError) -> Self
fn from(e: IndexOpsError) -> Self
Converts to this type from the input type.
sourceimpl From<IndexOpsError> for PersyError
impl From<IndexOpsError> for PersyError
sourcefn from(e: IndexOpsError) -> Self
fn from(e: IndexOpsError) -> Self
Converts to this type from the input type.
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more