pub struct TarError { /* private fields */ }Expand description
Error that occurred while reading or writing tar file.
The source may be an IO error from the operating system or a custom error with additional context.
Trait Implementations§
Source§impl Error for TarError
impl Error for TarError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
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
Auto Trait Implementations§
impl Freeze for TarError
impl !RefUnwindSafe for TarError
impl Send for TarError
impl Sync for TarError
impl Unpin for TarError
impl !UnwindSafe for TarError
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