pub enum OnlineStorageError {
NetworkError(Box<Error>),
NotFound(String),
UploadFailed(String),
IoError(Error),
}Expand description
Error types for online storage operations
Variants§
Trait Implementations§
Source§impl Debug for OnlineStorageError
impl Debug for OnlineStorageError
Source§impl Display for OnlineStorageError
impl Display for OnlineStorageError
Source§impl Error for OnlineStorageError
impl Error for OnlineStorageError
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<Box<Error>> for OnlineStorageError
impl From<Box<Error>> for OnlineStorageError
Source§impl From<Error> for OnlineStorageError
impl From<Error> for OnlineStorageError
Source§impl From<Error> for OnlineStorageError
Available on crate feature online only.
impl From<Error> for OnlineStorageError
Available on crate feature
online only.Source§impl From<OnlineStorageError> for HybridStorageError
impl From<OnlineStorageError> for HybridStorageError
Source§fn from(source: OnlineStorageError) -> Self
fn from(source: OnlineStorageError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OnlineStorageError
impl !RefUnwindSafe for OnlineStorageError
impl Send for OnlineStorageError
impl Sync for OnlineStorageError
impl Unpin for OnlineStorageError
impl UnsafeUnpin for OnlineStorageError
impl !UnwindSafe for OnlineStorageError
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