pub enum HttpResponseErrorMessage {
GraphErrorMessage(ErrorMessage),
SerdeJsonError(Error),
ReqwestError(Error),
}
Variants§
Trait Implementations§
source§impl Debug for HttpResponseErrorMessage
impl Debug for HttpResponseErrorMessage
source§impl Display for HttpResponseErrorMessage
impl Display for HttpResponseErrorMessage
source§impl Error for HttpResponseErrorMessage
impl Error for HttpResponseErrorMessage
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 HttpResponseErrorMessage
impl From<Error> for HttpResponseErrorMessage
source§impl From<Error> for HttpResponseErrorMessage
impl From<Error> for HttpResponseErrorMessage
source§impl From<ErrorMessage> for HttpResponseErrorMessage
impl From<ErrorMessage> for HttpResponseErrorMessage
source§fn from(source: ErrorMessage) -> Self
fn from(source: ErrorMessage) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HttpResponseErrorMessage
impl !RefUnwindSafe for HttpResponseErrorMessage
impl Send for HttpResponseErrorMessage
impl Sync for HttpResponseErrorMessage
impl Unpin for HttpResponseErrorMessage
impl !UnwindSafe for HttpResponseErrorMessage
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