pub enum MedusaZipError {
Io(Error),
Zip(ZipError),
Join(JoinError),
InputConsistency(InputConsistencyError),
InputRead(MedusaInputReadError),
ProcessZipOptions(InitializeZipOptionsError),
OneshotRecv(RecvError),
Send(SendError<ZipArchive<SpooledTempFile>>),
}Expand description
All types of errors from the parallel zip process.
Variants§
Io(Error)
i/o error: {0}
Zip(ZipError)
zip error: {0}
Join(JoinError)
join error: {0}
InputConsistency(InputConsistencyError)
error reconciling input sources: {0}
InputRead(MedusaInputReadError)
error reading input file: {0}
ProcessZipOptions(InitializeZipOptionsError)
error processing zip file entry options: {0}
OneshotRecv(RecvError)
error receiving from a oneshot channel: {0}
Send(SendError<ZipArchive<SpooledTempFile>>)
error sending intermediate archiev: {0}
Trait Implementations§
Source§impl Debug for MedusaZipError
impl Debug for MedusaZipError
Source§impl Display for MedusaZipError
impl Display for MedusaZipError
Source§impl Error for MedusaZipError
impl Error for MedusaZipError
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<Error> for MedusaZipError
impl From<Error> for MedusaZipError
Source§impl From<InitializeZipOptionsError> for MedusaZipError
impl From<InitializeZipOptionsError> for MedusaZipError
Source§fn from(source: InitializeZipOptionsError) -> Self
fn from(source: InitializeZipOptionsError) -> Self
Converts to this type from the input type.
Source§impl From<InputConsistencyError> for MedusaZipError
impl From<InputConsistencyError> for MedusaZipError
Source§fn from(source: InputConsistencyError) -> Self
fn from(source: InputConsistencyError) -> Self
Converts to this type from the input type.
Source§impl From<JoinError> for MedusaZipError
impl From<JoinError> for MedusaZipError
Source§impl From<MedusaInputReadError> for MedusaZipError
impl From<MedusaInputReadError> for MedusaZipError
Source§fn from(source: MedusaInputReadError) -> Self
fn from(source: MedusaInputReadError) -> Self
Converts to this type from the input type.
Source§impl From<RecvError> for MedusaZipError
impl From<RecvError> for MedusaZipError
Source§impl From<SendError<ZipArchive<SpooledTempFile>>> for MedusaZipError
impl From<SendError<ZipArchive<SpooledTempFile>>> for MedusaZipError
Source§fn from(source: SendError<ZipArchive<SpooledTempFile>>) -> Self
fn from(source: SendError<ZipArchive<SpooledTempFile>>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MedusaZipError
impl !RefUnwindSafe for MedusaZipError
impl Send for MedusaZipError
impl Sync for MedusaZipError
impl Unpin for MedusaZipError
impl !UnwindSafe for MedusaZipError
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more