Enum bitar::ArchiveError
source · pub enum ArchiveError<R> {
InvalidArchive(Box<dyn Error + Send + Sync>),
ReaderError(R),
}
Variants§
Trait Implementations§
source§impl<R: Debug> Debug for ArchiveError<R>
impl<R: Debug> Debug for ArchiveError<R>
source§impl<R> Display for ArchiveError<R>where
R: Error,
impl<R> Display for ArchiveError<R>where
R: Error,
source§impl<R> Error for ArchiveError<R>where
R: Error + 'static,
impl<R> Error for ArchiveError<R>where
R: Error + 'static,
source§fn 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 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl<R> From<DecodeError> for ArchiveError<R>
impl<R> From<DecodeError> for ArchiveError<R>
source§fn from(err: DecodeError) -> Self
fn from(err: DecodeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<R> Freeze for ArchiveError<R>where
R: Freeze,
impl<R> !RefUnwindSafe for ArchiveError<R>
impl<R> Send for ArchiveError<R>where
R: Send,
impl<R> Sync for ArchiveError<R>where
R: Sync,
impl<R> Unpin for ArchiveError<R>where
R: Unpin,
impl<R> !UnwindSafe for ArchiveError<R>
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