Enum safe_authenticator::AuthError [] [src]

pub enum AuthError {
    Unexpected(String),
    CoreError(CoreError),
    IoError(IoError),
    NfsError(NfsError),
    EncodeDecodeError,
    IpcError(IpcError),
    NoSuchPublicId,
    PublicIdExists,
}

Authenticator errors

Variants

Unexpected - Probably a Logic error

Error from safe_core. Boxed to hold a pointer instead of value so that this enum variant is not insanely bigger than others.

Input/output error

NFS error

Serialisation error

IPC error

Public ID not found

Public ID already exists

Trait Implementations

impl Debug for AuthError
[src]

Formats the value using the given formatter.

impl Display for AuthError
[src]

Formats the value using the given formatter. Read more

impl Into<IpcError> for AuthError
[src]

Performs the conversion.

impl<T: 'static> From<SendError<T>> for AuthError
[src]

Performs the conversion.

impl From<CoreError> for AuthError
[src]

Performs the conversion.

impl From<IpcError> for AuthError
[src]

Performs the conversion.

impl From<RecvError> for AuthError
[src]

Performs the conversion.

impl From<NulError> for AuthError
[src]

Performs the conversion.

impl From<IoError> for AuthError
[src]

Performs the conversion.

impl<'a> From<&'a str> for AuthError
[src]

Performs the conversion.

impl From<String> for AuthError
[src]

Performs the conversion.

impl From<NfsError> for AuthError
[src]

Performs the conversion.

impl From<SerialisationError> for AuthError
[src]

Performs the conversion.

impl From<Utf8Error> for AuthError
[src]

Performs the conversion.

impl From<FromUtf8Error> for AuthError
[src]

Performs the conversion.

impl ErrorCode for AuthError
[src]

Return the error code corresponding to this instance.