Enum cloud_file::CloudFileError
source · pub enum CloudFileError {
ObjectStoreError(Error),
ObjectStorePathError(Error),
Utf8Error(Utf8Error),
CannotParseUrl(String, String),
CannotCreateUrlFromFilePath(String),
}
Expand description
The error type for CloudFile
methods.
Variants§
ObjectStoreError(Error)
An error from object_store
crate
ObjectStorePathError(Error)
An path-related error from object_store
crate
Utf8Error(Utf8Error)
An error related to converting bytes into UTF-8
CannotParseUrl(String, String)
An error related to parsing a URL string
CannotCreateUrlFromFilePath(String)
An error related to creating a URL from a file path
Trait Implementations§
source§impl Debug for CloudFileError
impl Debug for CloudFileError
source§impl Display for CloudFileError
impl Display for CloudFileError
source§impl Error for CloudFileError
impl Error for CloudFileError
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 CloudFileError
impl From<Error> for CloudFileError
source§impl From<Error> for CloudFileError
impl From<Error> for CloudFileError
Auto Trait Implementations§
impl !RefUnwindSafe for CloudFileError
impl Send for CloudFileError
impl Sync for CloudFileError
impl Unpin for CloudFileError
impl !UnwindSafe for CloudFileError
Blanket Implementations§
§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
§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