Enum opus::ErrorCode [] [src]

pub enum ErrorCode {
    BadArg,
    BufferTooSmall,
    InternalError,
    InvalidPacket,
    Unimplemented,
    InvalidState,
    AllocFail,
    Unknown,
}

Possible error codes.

Variants

One or more invalid/out of range arguments.

Not enough bytes allocated in the buffer.

An internal error was detected.

The compressed data passed is corrupted.

Invalid/unsupported request number.

An encoder or decoder structure is invalid or already freed.

Memory allocation has failed.

An unknown failure.

Trait Implementations

impl Debug for ErrorCode
[src]

Formats the value using the given formatter.

impl Copy for ErrorCode
[src]

impl Clone for ErrorCode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for ErrorCode
[src]

impl PartialEq for ErrorCode
[src]

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

This method tests for !=.

impl Hash for ErrorCode
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.