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(String)
Unexpected - Probably a Logic error
CoreError(CoreError)
Error from safe_core. Boxed to hold a pointer instead of value so that this enum variant is not insanely bigger than others.
IoError(IoError)
Input/output error
NfsError(NfsError)
NFS error
EncodeDecodeError
Serialisation error
IpcError(IpcError)
IPC error
NoSuchPublicId
Public ID not found
PublicIdExists
Public ID already exists
Trait Implementations
impl Debug for AuthError
[src]
impl Display for AuthError
[src]
fn fmt(&self, formatter: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Into<IpcError> for AuthError
[src]
impl<T: 'static> From<SendError<T>> for AuthError
[src]
impl From<CoreError> for AuthError
[src]
impl From<IpcError> for AuthError
[src]
impl From<RecvError> for AuthError
[src]
impl From<NulError> for AuthError
[src]
impl From<IoError> for AuthError
[src]
impl<'a> From<&'a str> for AuthError
[src]
impl From<String> for AuthError
[src]
impl From<NfsError> for AuthError
[src]
impl From<SerialisationError> for AuthError
[src]
fn from(_err: SerialisationError) -> AuthError
Performs the conversion.
impl From<Utf8Error> for AuthError
[src]
impl From<FromUtf8Error> for AuthError
[src]
fn from(_err: FromUtf8Error) -> Self
Performs the conversion.
impl ErrorCode for AuthError
[src]
fn error_code(&self) -> i32
Return the error code corresponding to this instance.