Enum luminance::buffer::BufferError[][src]

pub enum BufferError {
    Overflow(usizeusize),
    TooFewValues(usizeusize),
    TooManyValues(usizeusize),
    MapFailed,
}

Buffer errors.

Variants

Overflow when setting a value with a specific index.

Contains the index and the size of the buffer.

Too few values were passed to fill a buffer.

Contains the number of passed value and the size of the buffer.

Too many values were passed to fill a buffer.

Contains the number of passed value and the size of the buffer.

Mapping the buffer failed.

Trait Implementations

impl Debug for BufferError
[src]

Formats the value using the given formatter. Read more

impl Eq for BufferError
[src]

impl PartialEq for BufferError
[src]

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

This method tests for !=.

impl Error for BufferError
[src]

This method is soft-deprecated. Read more

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

impl Display for BufferError
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for BufferError

impl Sync for BufferError