Enum safe_authenticator::AuthError [−][src]
pub enum AuthError { Unexpected(String), CoreError(CoreError), IoError(IoError), NfsError(NfsError), EncodeDecodeError, IpcError(IpcError), AccountContainersCreation(String), NoSuchContainer(String), }
Authenticator errors.
Variants
Unexpected(String)
Unexpected - probably a logic error.
CoreError(CoreError)
Error from safe_core.
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.
Trait Implementations
impl Debug for AuthError
[src]
impl Debug for AuthError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for AuthError
[src]
impl Display for AuthError
fn fmt(&self, formatter: &mut Formatter) -> Result
[src]
fn fmt(&self, formatter: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Into<IpcError> for AuthError
[src]
impl Into<IpcError> for AuthError
impl<T: 'static> From<SendError<T>> for AuthError
[src]
impl<T: 'static> From<SendError<T>> for AuthError
impl From<ConfigFileHandlerError> for AuthError
[src]
impl From<ConfigFileHandlerError> for AuthError
fn from(error: ConfigFileHandlerError) -> AuthError
[src]
fn from(error: ConfigFileHandlerError) -> AuthError
Performs the conversion.
impl From<CoreError> for AuthError
[src]
impl From<CoreError> for AuthError
impl From<IpcError> for AuthError
[src]
impl From<IpcError> for AuthError
impl From<RecvError> for AuthError
[src]
impl From<RecvError> for AuthError
impl From<NulError> for AuthError
[src]
impl From<NulError> for AuthError
impl From<IoError> for AuthError
[src]
impl From<IoError> for AuthError
impl<'a> From<&'a str> for AuthError
[src]
impl<'a> From<&'a str> for AuthError
impl From<String> for AuthError
[src]
impl From<String> for AuthError
impl From<NfsError> for AuthError
[src]
impl From<NfsError> for AuthError
impl From<SerialisationError> for AuthError
[src]
impl From<SerialisationError> for AuthError
fn from(_err: SerialisationError) -> AuthError
[src]
fn from(_err: SerialisationError) -> AuthError
Performs the conversion.
impl From<Utf8Error> for AuthError
[src]
impl From<Utf8Error> for AuthError
impl From<FromUtf8Error> for AuthError
[src]
impl From<FromUtf8Error> for AuthError
fn from(_err: FromUtf8Error) -> Self
[src]
fn from(_err: FromUtf8Error) -> Self
Performs the conversion.
impl From<StringError> for AuthError
[src]
impl From<StringError> for AuthError
fn from(_err: StringError) -> Self
[src]
fn from(_err: StringError) -> Self
Performs the conversion.
impl ErrorCode for AuthError
[src]
impl ErrorCode for AuthError
fn error_code(&self) -> i32
[src]
fn error_code(&self) -> i32
Return the error code corresponding to this instance.