[][src]Enum fxa_client::error::ErrorKind

pub enum ErrorKind {
    BackoffError(u64),
    UnknownOAuthState,
    MultipleScopesRequested,
    NoCachedToken(String),
    NoScopedKey(String),
    NoRefreshToken,
    NoSessionToken,
    NoMigrationData,
    NoCurrentDeviceId,
    UnknownTargetDevice(String),
    UnrecoverableServerError(&'static str),
    IllegalState(&'static str),
    UnknownCommand(String),
    SendTabDiagnosisError(&'static str),
    XorLengthMismatch(usizeusize),
    OriginMismatch,
    MismatchedKeys,
    NoAnonIdKey,
    ScopeNotAllowed(StringString),
    UnsupportedCommand(&'static str),
    MissingUrlParameter(&'static str),
    NullPointer,
    InvalidBufferLength(i32),
    AuthCircuitBreakerError,
    RemoteError {
        code: u64,
        errno: u64,
        error: String,
        message: String,
        info: String,
    },
    CryptoError(Error),
    EceError(Error),
    HexDecodeError(FromHexError),
    Base64Decode(DecodeError),
    JsonError(Error),
    JwCryptoError(JwCryptoError),
    UTF8DecodeError(FromUtf8Error),
    RequestError(Error),
    MalformedUrl(ParseError),
    UnexpectedStatus(UnexpectedStatus),
    SyncError(Error),
    HawkError(Error),
    ProtobufDecodeError(DecodeError),
}

Variants

BackoffError(u64)
UnknownOAuthState
MultipleScopesRequested
NoCachedToken(String)
NoScopedKey(String)
NoRefreshToken
NoSessionToken
NoMigrationData
NoCurrentDeviceId
UnknownTargetDevice(String)
UnrecoverableServerError(&'static str)
IllegalState(&'static str)
UnknownCommand(String)
SendTabDiagnosisError(&'static str)
XorLengthMismatch(usizeusize)
OriginMismatch
MismatchedKeys
NoAnonIdKey
ScopeNotAllowed(StringString)
UnsupportedCommand(&'static str)
MissingUrlParameter(&'static str)
NullPointer
InvalidBufferLength(i32)
AuthCircuitBreakerError
RemoteError

Fields of RemoteError

code: u64errno: u64error: Stringmessage: Stringinfo: String
CryptoError(Error)
EceError(Error)
HexDecodeError(FromHexError)
Base64Decode(DecodeError)
JsonError(Error)
JwCryptoError(JwCryptoError)
UTF8DecodeError(FromUtf8Error)
RequestError(Error)
MalformedUrl(ParseError)
UnexpectedStatus(UnexpectedStatus)
SyncError(Error)
HawkError(Error)
ProtobufDecodeError(DecodeError)

Trait Implementations

impl Debug for ErrorKind[src]

impl Display for ErrorKind[src]

impl Error for ErrorKind[src]

impl From<DecodeError> for ErrorKind[src]

impl From<DecodeError> for ErrorKind[src]

impl From<Error> for ErrorKind[src]

impl From<Error> for ErrorKind[src]

impl From<Error> for ErrorKind[src]

impl From<Error> for ErrorKind[src]

impl From<Error> for ErrorKind[src]

impl From<Error> for ErrorKind[src]

impl From<ErrorKind> for Error[src]

impl From<FromHexError> for ErrorKind[src]

impl From<FromUtf8Error> for ErrorKind[src]

impl From<JwCryptoError> for ErrorKind[src]

impl From<ParseError> for ErrorKind[src]

impl From<UnexpectedStatus> for ErrorKind[src]

Auto Trait Implementations

impl !RefUnwindSafe for ErrorKind

impl Send for ErrorKind

impl Sync for ErrorKind

impl Unpin for ErrorKind

impl !UnwindSafe for ErrorKind

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,