pub enum BoostyError {
HttpError(ReqwestError),
SerdeError(Error),
}Expand description
Enum of possible errors
Variants§
HttpError(ReqwestError)
SerdeError(Error)
Trait Implementations§
Source§impl Debug for BoostyError
impl Debug for BoostyError
Source§impl From<Error> for BoostyError
Implements conversion of serde_json::Error to BoostyError
impl From<Error> for BoostyError
Implements conversion of serde_json::Error to BoostyError
Source§impl From<ReqwestError> for BoostyError
Implements conversion of ReqwestError to BoostyError
impl From<ReqwestError> for BoostyError
Implements conversion of ReqwestError to BoostyError
Source§fn from(value: ReqwestError) -> Self
fn from(value: ReqwestError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for BoostyError
impl !UnwindSafe for BoostyError
impl Freeze for BoostyError
impl Send for BoostyError
impl Sync for BoostyError
impl Unpin for BoostyError
impl UnsafeUnpin for BoostyError
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