Enum luminance::buffer::BufferError [−][src]
pub enum BufferError { Overflow(usize, usize), TooFewValues(usize, usize), TooManyValues(usize, usize), MapFailed, }
Buffer errors.
Variants
Overflow(usize, usize)
Overflow when setting a value with a specific index.
Contains the index and the size of the buffer.
TooFewValues(usize, usize)
Too few values were passed to fill a buffer.
Contains the number of passed value and the size of the buffer.
TooManyValues(usize, usize)
Too many values were passed to fill a buffer.
Contains the number of passed value and the size of the buffer.
MapFailed
Mapping the buffer failed.
Trait Implementations
impl Debug for BufferError
[src]
impl Debug for BufferError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for BufferError
[src]
impl Eq for BufferError
impl PartialEq for BufferError
[src]
impl PartialEq for BufferError
fn eq(&self, other: &BufferError) -> bool
[src]
fn eq(&self, other: &BufferError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &BufferError) -> bool
[src]
fn ne(&self, other: &BufferError) -> bool
This method tests for !=
.
impl Error for BufferError
[src]
impl Error for BufferError
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0
[src]This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
1.0.0
[src]The lower-level cause of this error, if any. Read more
impl Display for BufferError
[src]
impl Display for BufferError
Auto Trait Implementations
impl Send for BufferError
impl Send for BufferError
impl Sync for BufferError
impl Sync for BufferError