Enum zbox::Error
[−]
[src]
pub enum Error { RefOverflow, RefUnderflow, InitCrypto, NoAesHardware, Hashing, InvalidCost, InvalidCipher, Encrypt, Decrypt, InvalidUri, InvalidSuperBlk, Corrupted, Opened, WrongVersion, NoEntity, InTrans, NotInTrans, NoTrans, Uncompleted, InUse, NoContent, InvalidArgument, InvalidPath, NotFound, AlreadyExists, IsRoot, IsDir, IsFile, NotDir, NotFile, NotEmpty, NoVersion, ReadOnly, CannotRead, CannotWrite, NotWrite, NotFinish, Encode(EncodeError), Decode(DecodeError), Var(VarError), Io(IoError), }
Variants
RefOverflow
RefUnderflow
InitCrypto
NoAesHardware
Hashing
InvalidCost
InvalidCipher
Encrypt
Decrypt
InvalidUri
InvalidSuperBlk
Corrupted
Opened
WrongVersion
NoEntity
InTrans
NotInTrans
NoTrans
Uncompleted
InUse
NoContent
InvalidArgument
InvalidPath
NotFound
AlreadyExists
IsRoot
IsDir
IsFile
NotDir
NotFile
NotEmpty
NoVersion
ReadOnly
CannotRead
CannotWrite
NotWrite
NotFinish
Encode(EncodeError)
Decode(DecodeError)
Var(VarError)
Io(IoError)
Trait Implementations
impl Debug for Error
[src]
impl Display for Error
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl StdError for Error
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&StdError>
[src]
The lower-level cause of this error, if any. Read more
impl From<EncodeError> for Error
[src]
fn from(err: EncodeError) -> Error
[src]
Performs the conversion.
impl From<DecodeError> for Error
[src]
fn from(err: DecodeError) -> Error
[src]
Performs the conversion.