pub enum IndexError {
Conflict(String),
CrateNameNotAllowed,
NotFound,
ServiceError(Error),
}
Available on crate feature
index
only.Variants§
Trait Implementations§
Source§impl Debug for IndexError
impl Debug for IndexError
Source§impl Display for IndexError
impl Display for IndexError
Source§impl Error for IndexError
impl Error for IndexError
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()
Source§impl From<Error> for IndexError
impl From<Error> for IndexError
Source§impl From<StorageError> for IndexError
impl From<StorageError> for IndexError
Source§fn from(e: StorageError) -> Self
fn from(e: StorageError) -> Self
Converts to this type from the input type.
Source§impl IntoResponse for IndexError
impl IntoResponse for IndexError
Source§fn into_response(self) -> Response
fn into_response(self) -> Response
Create a response.
Auto Trait Implementations§
impl Freeze for IndexError
impl RefUnwindSafe for IndexError
impl Send for IndexError
impl Sync for IndexError
impl Unpin for IndexError
impl UnwindSafe for IndexError
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