pub enum HttpLikeError {
Request,
Status(u16),
Other(Error),
}Expand description
An error that is similar to common http errrors. Used for requests to the account server.
Variants§
Trait Implementations§
Source§impl Debug for HttpLikeError
impl Debug for HttpLikeError
Source§impl Display for HttpLikeError
impl Display for HttpLikeError
Source§impl Error for HttpLikeError
impl Error for HttpLikeError
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 HttpLikeError
impl From<Error> for HttpLikeError
Source§impl From<HttpLikeError> for AccountInfoResult
impl From<HttpLikeError> for AccountInfoResult
Source§fn from(value: HttpLikeError) -> Self
fn from(value: HttpLikeError) -> Self
Converts to this type from the input type.
Source§impl From<HttpLikeError> for AccountTokenResult
impl From<HttpLikeError> for AccountTokenResult
Source§fn from(value: HttpLikeError) -> Self
fn from(value: HttpLikeError) -> Self
Converts to this type from the input type.
Source§impl From<HttpLikeError> for CredentialAuthTokenResult
impl From<HttpLikeError> for CredentialAuthTokenResult
Source§fn from(value: HttpLikeError) -> Self
fn from(value: HttpLikeError) -> Self
Converts to this type from the input type.
Source§impl From<HttpLikeError> for DeleteResult
impl From<HttpLikeError> for DeleteResult
Source§fn from(value: HttpLikeError) -> Self
fn from(value: HttpLikeError) -> Self
Converts to this type from the input type.
Source§impl From<HttpLikeError> for LinkCredentialResult
impl From<HttpLikeError> for LinkCredentialResult
Source§fn from(value: HttpLikeError) -> Self
fn from(value: HttpLikeError) -> Self
Converts to this type from the input type.
Source§impl From<HttpLikeError> for LoginResult
impl From<HttpLikeError> for LoginResult
Source§fn from(value: HttpLikeError) -> Self
fn from(value: HttpLikeError) -> Self
Converts to this type from the input type.
Source§impl From<HttpLikeError> for LogoutAllResult
impl From<HttpLikeError> for LogoutAllResult
Source§fn from(value: HttpLikeError) -> Self
fn from(value: HttpLikeError) -> Self
Converts to this type from the input type.
Source§impl From<HttpLikeError> for LogoutResult
impl From<HttpLikeError> for LogoutResult
Source§fn from(value: HttpLikeError) -> Self
fn from(value: HttpLikeError) -> Self
Converts to this type from the input type.
Source§impl From<HttpLikeError> for UnlinkCredentialResult
impl From<HttpLikeError> for UnlinkCredentialResult
Source§fn from(value: HttpLikeError) -> Self
fn from(value: HttpLikeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HttpLikeError
impl RefUnwindSafe for HttpLikeError
impl Send for HttpLikeError
impl Sync for HttpLikeError
impl Unpin for HttpLikeError
impl UnwindSafe for HttpLikeError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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