pub enum CentralDirectoryError {
InputTooShort,
InvalidSignature(usize),
MalformedHeader(usize),
LeftoverBytes(usize),
}Variants§
Trait Implementations§
Source§impl Debug for CentralDirectoryError
impl Debug for CentralDirectoryError
Source§impl Display for CentralDirectoryError
impl Display for CentralDirectoryError
Source§impl Error for CentralDirectoryError
impl Error for CentralDirectoryError
1.30.0 · 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<CentralDirectoryError> for CentralDirectoryReadError
impl From<CentralDirectoryError> for CentralDirectoryReadError
Source§fn from(source: CentralDirectoryError) -> Self
fn from(source: CentralDirectoryError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CentralDirectoryError
impl RefUnwindSafe for CentralDirectoryError
impl Send for CentralDirectoryError
impl Sync for CentralDirectoryError
impl Unpin for CentralDirectoryError
impl UnsafeUnpin for CentralDirectoryError
impl UnwindSafe for CentralDirectoryError
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