Enum askitty::errors::ImageGenError
source · pub enum ImageGenError {
APIError(String),
DownloadError(String),
ReqwestError(Error),
SerializationError(String),
IOError(Error),
Other(String),
}
Variants§
APIError(String)
DownloadError(String)
ReqwestError(Error)
SerializationError(String)
IOError(Error)
Other(String)
Trait Implementations§
source§impl Debug for ImageGenError
impl Debug for ImageGenError
source§impl Display for ImageGenError
impl Display for ImageGenError
source§impl Error for ImageGenError
impl Error for ImageGenError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<Error> for ImageGenError
impl From<Error> for ImageGenError
source§impl From<Error> for ImageGenError
impl From<Error> for ImageGenError
Auto Trait Implementations§
impl Freeze for ImageGenError
impl !RefUnwindSafe for ImageGenError
impl Send for ImageGenError
impl Sync for ImageGenError
impl Unpin for ImageGenError
impl !UnwindSafe for ImageGenError
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