#[non_exhaustive]pub enum IndexedReaderError {
Index(IndexError),
Decode(DecodeError),
Io(Arc<Error>),
}Expand description
Failure while opening an IndexedReader.
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.
Index(IndexError)
The supplied index is internally invalid.
Decode(DecodeError)
The raw inflate backend could not be initialized.
Io(Arc<Error>)
The positional source could not be inspected.
Trait Implementations§
Source§impl Clone for IndexedReaderError
impl Clone for IndexedReaderError
Source§fn clone(&self) -> IndexedReaderError
fn clone(&self) -> IndexedReaderError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IndexedReaderError
impl Debug for IndexedReaderError
Source§impl Display for IndexedReaderError
impl Display for IndexedReaderError
Source§impl Error for IndexedReaderError
impl Error for IndexedReaderError
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<DecodeError> for IndexedReaderError
impl From<DecodeError> for IndexedReaderError
Source§fn from(error: DecodeError) -> Self
fn from(error: DecodeError) -> Self
Converts to this type from the input type.
Source§impl From<IndexError> for IndexedReaderError
impl From<IndexError> for IndexedReaderError
Source§fn from(error: IndexError) -> Self
fn from(error: IndexError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for IndexedReaderError
impl !UnwindSafe for IndexedReaderError
impl Freeze for IndexedReaderError
impl Send for IndexedReaderError
impl Sync for IndexedReaderError
impl Unpin for IndexedReaderError
impl UnsafeUnpin for IndexedReaderError
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