pub enum PrepareError {
Meta(MetadataError),
Reader(ReaderError),
Client,
}
Variants§
Meta(MetadataError)
Failed to prepare the file metadata for uploading.
Reader(ReaderError)
Failed to create an encrypted file reader, that encrypts the file on the fly when it is read.
Client
Failed to create a client for uploading a file.
Trait Implementations§
Source§impl Debug for PrepareError
impl Debug for PrepareError
Source§impl Display for PrepareError
impl Display for PrepareError
Source§impl Error for PrepareError
impl Error for PrepareError
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<PrepareError> for Error
impl From<PrepareError> for Error
Source§fn from(source: PrepareError) -> Self
fn from(source: PrepareError) -> Self
Converts to this type from the input type.
Source§impl From<ReaderError> for PrepareError
impl From<ReaderError> for PrepareError
Source§fn from(source: ReaderError) -> Self
fn from(source: ReaderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PrepareError
impl !RefUnwindSafe for PrepareError
impl Send for PrepareError
impl Sync for PrepareError
impl Unpin for PrepareError
impl !UnwindSafe for PrepareError
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