Enum partialzip::partzip::PartialZipError
source · [−]pub enum PartialZipError {
InvalidUrl,
FileNotFound,
UnsupportedCompression(u16),
ZipRsError(ZipError),
GenericError(String),
}
Expand description
Enum for errors thrown by the partialzip crate
Variants
InvalidUrl
the URL is invalid
FileNotFound
The file is not found
UnsupportedCompression(u16)
The compression scheme is currently not supported
ZipRsError(ZipError)
Error for the underlying zip crate
GenericError(String)
Generic catch all string error
Trait Implementations
sourceimpl Debug for PartialZipError
impl Debug for PartialZipError
sourceimpl Display for PartialZipError
impl Display for PartialZipError
sourceimpl From<Error> for PartialZipError
impl From<Error> for PartialZipError
sourcefn from(err: Error) -> PartialZipError
fn from(err: Error) -> PartialZipError
Converts to this type from the input type.
sourceimpl From<String> for PartialZipError
impl From<String> for PartialZipError
sourcefn from(err: String) -> PartialZipError
fn from(err: String) -> PartialZipError
Converts to this type from the input type.
sourceimpl From<ZipError> for PartialZipError
impl From<ZipError> for PartialZipError
sourcefn from(err: ZipError) -> PartialZipError
fn from(err: ZipError) -> PartialZipError
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for PartialZipError
impl Send for PartialZipError
impl Sync for PartialZipError
impl Unpin for PartialZipError
impl !UnwindSafe for PartialZipError
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