[][src]Enum parsec_interface::requests::ResponseStatus

#[repr(u16)]
pub enum ResponseStatus {
    Success,
    WrongProviderID,
    ContentTypeNotSupported,
    AcceptTypeNotSupported,
    VersionTooBig,
    ProviderNotRegistered,
    ProviderDoesNotExist,
    DeserializingBodyFailed,
    SerializingBodyFailed,
    OpcodeDoesNotExist,
    ResponseTooLarge,
    AuthenticationError,
    AuthenticatorDoesNotExist,
    AuthenticatorNotRegistered,
    KeyIDManagerError,
    ConnectionError,
    InvalidEncoding,
    InvalidHeader,
    WrongProviderUuid,
    NotAuthenticated,
    BodySizeExceedsLimit,
    PsaErrorGenericError,
    PsaErrorNotPermitted,
    PsaErrorNotSupported,
    PsaErrorInvalidArgument,
    PsaErrorInvalidHandle,
    PsaErrorBadState,
    PsaErrorBufferTooSmall,
    PsaErrorAlreadyExists,
    PsaErrorDoesNotExist,
    PsaErrorInsufficientMemory,
    PsaErrorInsufficientStorage,
    PsaErrorInssuficientData,
    PsaErrorCommunicationFailure,
    PsaErrorStorageFailure,
    PsaErrorHardwareFailure,
    PsaErrorInsufficientEntropy,
    PsaErrorInvalidSignature,
    PsaErrorInvalidPadding,
    PsaErrorTamperingDetected,
}

C-like enum mapping response status options to their code.

Variants

Success
WrongProviderID
ContentTypeNotSupported
AcceptTypeNotSupported
VersionTooBig
ProviderNotRegistered
ProviderDoesNotExist
DeserializingBodyFailed
SerializingBodyFailed
OpcodeDoesNotExist
ResponseTooLarge
AuthenticationError
AuthenticatorDoesNotExist
AuthenticatorNotRegistered
KeyIDManagerError
ConnectionError
InvalidEncoding
InvalidHeader
WrongProviderUuid
NotAuthenticated
BodySizeExceedsLimit
PsaErrorGenericError
PsaErrorNotPermitted
PsaErrorNotSupported
PsaErrorInvalidArgument
PsaErrorInvalidHandle
PsaErrorBadState
PsaErrorBufferTooSmall
PsaErrorAlreadyExists
PsaErrorDoesNotExist
PsaErrorInsufficientMemory
PsaErrorInsufficientStorage
PsaErrorInssuficientData
PsaErrorCommunicationFailure
PsaErrorStorageFailure
PsaErrorHardwareFailure
PsaErrorInsufficientEntropy
PsaErrorInvalidSignature
PsaErrorInvalidPadding
PsaErrorTamperingDetected

Trait Implementations

impl Clone for ResponseStatus[src]

impl Copy for ResponseStatus[src]

impl Debug for ResponseStatus[src]

impl Display for ResponseStatus[src]

impl Error for ResponseStatus[src]

impl From<Box<ErrorKind>> for ResponseStatus[src]

impl From<Error> for ResponseStatus[src]

impl From<Infallible> for ResponseStatus[src]

impl From<TryFromIntError> for ResponseStatus[src]

impl FromPrimitive for ResponseStatus[src]

impl PartialEq<ResponseStatus> for ResponseStatus[src]

impl StructuralPartialEq for ResponseStatus[src]

impl TryFrom<u16> for ResponseStatus[src]

type Error = ResponseStatus

The type returned in the event of a conversion error.

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.