pub enum IndexParseError {
VersioningError(IndexVersioningError),
ParseError(),
V2Error(String),
V3Error(String),
}Expand description
An error that may occur when trying to parse an index file.
Variants§
Trait Implementations§
Source§impl Debug for IndexParseError
impl Debug for IndexParseError
Source§impl Display for IndexParseError
impl Display for IndexParseError
Source§impl Error for IndexParseError
impl Error for IndexParseError
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<IndexParseError> for SearchError
impl From<IndexParseError> for SearchError
Source§fn from(source: IndexParseError) -> Self
fn from(source: IndexParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IndexParseError
impl RefUnwindSafe for IndexParseError
impl Send for IndexParseError
impl Sync for IndexParseError
impl Unpin for IndexParseError
impl UnwindSafe for IndexParseError
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