pub enum Error<FindErr, IterErr> where
FindErr: Error + 'static,
IterErr: Error + 'static, {
CommitDecode(Error),
FindExisting(FindErr),
InputIteration(IterErr),
TreeTraverse(Error),
TreeChanges(Error),
Interrupted,
}Expand description
The error returned by the pack generation iterator bytes::FromEntriesIter.
Variants
CommitDecode(Error)
FindExisting(FindErr)
InputIteration(IterErr)
TreeTraverse(Error)
TreeChanges(Error)
Interrupted
Trait Implementations
sourceimpl<FindErr: Debug, IterErr: Debug> Debug for Error<FindErr, IterErr> where
FindErr: Error + 'static,
IterErr: Error + 'static,
impl<FindErr: Debug, IterErr: Debug> Debug for Error<FindErr, IterErr> where
FindErr: Error + 'static,
IterErr: Error + 'static,
sourceimpl<FindErr, IterErr> Display for Error<FindErr, IterErr> where
FindErr: Error + 'static,
IterErr: Error + 'static,
FindErr: Display,
IterErr: Display,
impl<FindErr, IterErr> Display for Error<FindErr, IterErr> where
FindErr: Error + 'static,
IterErr: Error + 'static,
FindErr: Display,
IterErr: Display,
sourceimpl<FindErr, IterErr> Error for Error<FindErr, IterErr> where
FindErr: Error + 'static,
IterErr: Error + 'static,
FindErr: Error,
IterErr: Error,
Self: Debug + Display,
impl<FindErr, IterErr> Error for Error<FindErr, IterErr> where
FindErr: Error + 'static,
IterErr: Error + 'static,
FindErr: Error,
IterErr: Error,
Self: Debug + Display,
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()
Auto Trait Implementations
impl<FindErr, IterErr> !RefUnwindSafe for Error<FindErr, IterErr>
impl<FindErr, IterErr> Send for Error<FindErr, IterErr> where
FindErr: Send,
IterErr: Send,
impl<FindErr, IterErr> Sync for Error<FindErr, IterErr> where
FindErr: Sync,
IterErr: Sync,
impl<FindErr, IterErr> Unpin for Error<FindErr, IterErr> where
FindErr: Unpin,
IterErr: Unpin,
impl<FindErr, IterErr> !UnwindSafe for Error<FindErr, IterErr>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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