pub enum ZipStorageAdapterCreateError {
IOError(Error),
ExistingDir(PathBuf),
ZipError(String),
StorageError(StorageError),
}
Available on crate feature
zip
only.Expand description
A zip store creation error.
Variants§
IOError(Error)
An IO error.
ExistingDir(PathBuf)
An existing directory.
ZipError(String)
A zip error.
StorageError(StorageError)
A storage error.
Trait Implementations§
source§impl Debug for ZipStorageAdapterCreateError
impl Debug for ZipStorageAdapterCreateError
source§impl Error for ZipStorageAdapterCreateError
impl Error for ZipStorageAdapterCreateError
source§fn 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 · 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 ZipStorageAdapterCreateError
impl From<Error> for ZipStorageAdapterCreateError
source§impl From<StorageError> for ZipStorageAdapterCreateError
impl From<StorageError> for ZipStorageAdapterCreateError
source§fn from(source: StorageError) -> Self
fn from(source: StorageError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ZipStorageAdapterCreateError
impl !RefUnwindSafe for ZipStorageAdapterCreateError
impl Send for ZipStorageAdapterCreateError
impl Sync for ZipStorageAdapterCreateError
impl Unpin for ZipStorageAdapterCreateError
impl !UnwindSafe for ZipStorageAdapterCreateError
Blanket Implementations§
source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
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