[][src]Enum safe_authenticator::errors::AuthError

pub enum AuthError {
    Unexpected(String),
    CoreError(CoreError),
    SndError(SndError),
    IoError(IoError),
    NfsError(NfsError),
    EncodeDecodeError,
    IpcError(IpcError),
    AccountContainersCreation(String),
    NoSuchContainer(String),
    PendingRevocation,
}

Authenticator errors.

Variants

Unexpected(String)

Unexpected - probably a logic error.

CoreError(CoreError)

Error from safe_core.

SndError(SndError)

Error from safe-nd

IoError(IoError)

Input/output error.

NfsError(NfsError)

NFS error

EncodeDecodeError

Serialisation error.

IpcError(IpcError)

IPC error.

AccountContainersCreation(String)

Failure during the creation of standard account containers.

NoSuchContainer(String)

Failure due to the attempted creation of an invalid container.

PendingRevocation

Couldn't authenticate app that is pending revocation.

Trait Implementations

impl Debug for AuthError[src]

impl Display for AuthError[src]

impl ErrorCode for AuthError[src]

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

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

impl From<CoreError> for AuthError[src]

impl From<Error> for AuthError[src]

impl From<Error> for AuthError[src]

impl From<FromUtf8Error> for AuthError[src]

impl From<IpcError> for AuthError[src]

impl From<NfsError> for AuthError[src]

impl From<NulError> for AuthError[src]

impl From<RecvError> for AuthError[src]

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

impl From<String> for AuthError[src]

impl From<StringError> for AuthError[src]

impl From<Utf8Error> for AuthError[src]

impl Into<IpcError> for AuthError[src]

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> DebugAny for T where
    T: Any + Debug

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

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

type Error = !

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<T> UnsafeAny for T where
    T: Any

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