Enum ffsend_api::action::download::FileError
source · pub enum FileError {
Create(IoError),
EncryptedWriter,
}
Variants
Create(IoError)
An error occurred while creating or opening the file to write to.
EncryptedWriter
Failed to create an encrypted writer for the file, which is used to decrypt the downloaded file.
Trait Implementations
sourceimpl Fail for FileError
impl Fail for FileError
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 moreAuto Trait Implementations
impl !RefUnwindSafe for FileError
impl Send for FileError
impl Sync for FileError
impl Unpin for FileError
impl !UnwindSafe for FileError
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