Enum nannou::ui::backend::glium::glium::buffer::ReadError [−][src]
pub enum ReadError { NotSupported, ContextLost, }
Error that can happen when reading from a buffer.
Variants
NotSupported
The backend doesn't support reading from a buffer.
ContextLost
The context has been lost. Reading from the buffer would return garbage data.
Trait Implementations
impl Clone for ReadError
[src]
impl Clone for ReadError
fn clone(&self) -> ReadError
[src]
fn clone(&self) -> ReadError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for ReadError
[src]
impl Debug for ReadError
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Error for ReadError
[src]
impl Error for ReadError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
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 ReadError
[src]
impl Display for ReadError
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Copy for ReadError
[src]
impl Copy for ReadError