Enum deltalake::storage::StorageError [−][src]
pub enum StorageError { NotFound, AlreadyExists(String), Io { source: Error, }, FileSystemNotSupported, Generic(String), Uri { source: UriError, }, }
Expand description
Error enum returned when storage backend interaction fails.
Variants
The requested object does not exist.
AlreadyExists(String)
The object written to the storage backend already exists. This error is expected in some cases. For example, optimistic concurrency writes between multiple processes expect to compete for the same URI when writing to _delta_log.
An IO error occurred while reading from the local file system.
Show fields
Fields of Io
source: Error
The raw error returned when trying to read the local file.
The file system represented by the scheme is not known.
Generic(String)
Wraps a generic storage backend error. The wrapped string contains the details.
Error returned when the URI is invalid. The wrapped UriError contains additional details.
Show fields
Fields of Uri
source: UriError
Uri error details when the URI is invalid.
Implementations
Creates a StorageError::Io error wrapping the provided error string.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for StorageError
impl Send for StorageError
impl Sync for StorageError
impl Unpin for StorageError
impl !UnwindSafe for StorageError