Enum ffsend_api::action::info::InfoError
source · pub enum InfoError {
Request,
Response(ResponseError),
Decode(ReqwestError),
}
Variants
Request
Sending the request to fetch the file info failed.
Response(ResponseError)
The server responded with an error while fetching the file info.
Decode(ReqwestError)
Failed to decode the info response from the server. Maybe the server responded with data from a newer API version.
Trait Implementations
sourceimpl Fail for InfoError
impl Fail for InfoError
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 InfoError
impl Send for InfoError
impl Sync for InfoError
impl Unpin for InfoError
impl !UnwindSafe for InfoError
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