pub enum ExampleErrorKind {
IoError {
message: String,
file: PathBuf,
},
RequestError {
message: String,
context: String,
},
UnknownError,
}
Expand description
The kind of PixivError.
Variants§
Trait Implementations§
Source§impl Clone for ExampleErrorKind
impl Clone for ExampleErrorKind
Source§fn clone(&self) -> ExampleErrorKind
fn clone(&self) -> ExampleErrorKind
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ExampleErrorKind
impl Debug for ExampleErrorKind
Source§impl Display for ExampleErrorKind
impl Display for ExampleErrorKind
Source§impl From<ExampleErrorKind> for PixivError
impl From<ExampleErrorKind> for PixivError
Source§fn from(value: ExampleErrorKind) -> Self
fn from(value: ExampleErrorKind) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ExampleErrorKind
impl RefUnwindSafe for ExampleErrorKind
impl Send for ExampleErrorKind
impl Sync for ExampleErrorKind
impl Unpin for ExampleErrorKind
impl UnwindSafe for ExampleErrorKind
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