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,
    Closed,
    Encode(EncodeError),
    Decode(DecodeError),
    Var(VarError),
    Io(IoError),
}

The error type for operations with Repo and File.

Variants

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl Display for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl StdError for Error
[src]

[src]

A short description of the error. Read more

[src]

The lower-level cause of this error, if any. Read more

impl From<EncodeError> for Error
[src]

[src]

Performs the conversion.

impl From<DecodeError> for Error
[src]

[src]

Performs the conversion.

impl From<VarError> for Error
[src]

[src]

Performs the conversion.

impl From<IoError> for Error
[src]

[src]

Performs the conversion.

impl Into<i32> for Error
[src]

[src]

Performs the conversion.

impl PartialEq for Error
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

Auto Trait Implementations

impl Send for Error

impl Sync for Error