Enum ffsend_api::action::delete::Error
source · pub enum Error {
Prepare(PrepareError),
Expired,
Delete(DeleteError),
}
Variants
Prepare(PrepareError)
An error occurred while preparing the action.
Expired
The given Send file has expired, or did never exist in the first place. Therefore the file could not be downloaded.
Delete(DeleteError)
An error has occurred while sending the filedeletion request.
Trait Implementations
sourceimpl Fail for Error
impl Fail for Error
sourcefn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moresourceimpl From<DeleteError> for Error
impl From<DeleteError> for Error
sourcefn from(err: DeleteError) -> Error
fn from(err: DeleteError) -> Error
Converts to this type from the input type.
sourceimpl From<PrepareError> for Error
impl From<PrepareError> for Error
sourcefn from(err: PrepareError) -> Error
fn from(err: PrepareError) -> Error
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more