pub enum PhabOAuthError {
UrlParseError(ParseError),
OAuthReqwestError(Error<HttpClientError>),
ReqwestError(HttpClientError),
RequestTokenError(RequestTokenError<HttpClientError, StandardErrorResponse<BasicErrorResponseType>>),
SerdeJsonError(Error),
FromUtf8Error(FromUtf8Error),
}
Variants§
UrlParseError(ParseError)
OAuthReqwestError(Error<HttpClientError>)
ReqwestError(HttpClientError)
RequestTokenError(RequestTokenError<HttpClientError, StandardErrorResponse<BasicErrorResponseType>>)
SerdeJsonError(Error)
FromUtf8Error(FromUtf8Error)
Trait Implementations§
Source§impl Debug for PhabOAuthError
impl Debug for PhabOAuthError
Source§impl Display for PhabOAuthError
impl Display for PhabOAuthError
Source§impl Error for PhabOAuthError
impl Error for PhabOAuthError
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<Error<Error>>> for PhabOAuthError
impl From<Error<Error<Error>>> for PhabOAuthError
Source§fn from(source: OAuthReqwestError<HttpClientError>) -> Self
fn from(source: OAuthReqwestError<HttpClientError>) -> Self
Converts to this type from the input type.
Source§impl From<Error<Error>> for PhabOAuthError
impl From<Error<Error>> for PhabOAuthError
Source§fn from(source: HttpClientError) -> Self
fn from(source: HttpClientError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for PhabOAuthError
impl From<Error> for PhabOAuthError
Source§fn from(source: SerdeJsonError) -> Self
fn from(source: SerdeJsonError) -> Self
Converts to this type from the input type.
Source§impl From<FromUtf8Error> for PhabOAuthError
impl From<FromUtf8Error> for PhabOAuthError
Source§fn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Converts to this type from the input type.
Source§impl From<ParseError> for PhabOAuthError
impl From<ParseError> for PhabOAuthError
Source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Source§impl From<RequestTokenError<Error<Error>, StandardErrorResponse<BasicErrorResponseType>>> for PhabOAuthError
impl From<RequestTokenError<Error<Error>, StandardErrorResponse<BasicErrorResponseType>>> for PhabOAuthError
Source§fn from(
source: RequestTokenError<HttpClientError, StandardErrorResponse<BasicErrorResponseType>>,
) -> Self
fn from( source: RequestTokenError<HttpClientError, StandardErrorResponse<BasicErrorResponseType>>, ) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PhabOAuthError
impl !RefUnwindSafe for PhabOAuthError
impl Send for PhabOAuthError
impl Sync for PhabOAuthError
impl Unpin for PhabOAuthError
impl !UnwindSafe for PhabOAuthError
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