Enum liberasurecode::Error[][src]

pub enum Error {
    BackendNotSupported,
    EcMethodNotImplemented,
    BackendInitError,
    BackendInUse,
    BackendNotAvailable,
    BadChecksum,
    InvalidParams,
    BadHeader,
    InsufficientFragments,
    Other(u32),
}

Possible errors.

Variants

Methods

impl Error
[src]

Makes a Error instance from the given codepoint defined in openstack/liberasurecode.

Returns the codepoint of the error.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl Clone for Error
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Error
[src]

impl PartialEq for Error
[src]

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

This method tests for !=.

impl Eq for Error
[src]

impl Hash for Error
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

This method is soft-deprecated. Read more

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

Auto Trait Implementations

impl Send for Error

impl Sync for Error