pub enum GiteeError {
TokenNotFound,
RequestFailed(Error),
ParseError(Error),
ApiError(String),
NetworkError(String),
}Variants§
Trait Implementations§
Source§impl Debug for GiteeError
impl Debug for GiteeError
Source§impl Display for GiteeError
impl Display for GiteeError
Source§impl Error for GiteeError
impl Error for GiteeError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 GiteeError
impl From<Error> for GiteeError
Auto Trait Implementations§
impl Freeze for GiteeError
impl !RefUnwindSafe for GiteeError
impl Send for GiteeError
impl Sync for GiteeError
impl Unpin for GiteeError
impl !UnwindSafe for GiteeError
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