pub enum DeleteError {
Request,
Response(ResponseError),
}
Variants§
Request
Sending the file deletion request failed.
Response(ResponseError)
The server responded with an error while requesting file deletion.
Trait Implementations§
Source§impl Debug for DeleteError
impl Debug for DeleteError
Source§impl Display for DeleteError
impl Display for DeleteError
Source§impl Error for DeleteError
impl Error for DeleteError
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<DeleteError> for Error
impl From<DeleteError> for Error
Source§fn from(source: DeleteError) -> Self
fn from(source: DeleteError) -> Self
Converts to this type from the input type.
Source§impl From<ResponseError> for DeleteError
impl From<ResponseError> for DeleteError
Source§fn from(source: ResponseError) -> Self
fn from(source: ResponseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DeleteError
impl RefUnwindSafe for DeleteError
impl Send for DeleteError
impl Sync for DeleteError
impl Unpin for DeleteError
impl UnwindSafe for DeleteError
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