Enum gbm::FrontBufferError
source · pub enum FrontBufferError {
NoFreeBuffers,
Unknown,
Destroyed(DeviceDestroyedError),
}
Expand description
Errors that may happen when locking the front buffer
Variants§
NoFreeBuffers
No free buffers are currently available
Unknown
An unknown error happened
Destroyed(DeviceDestroyedError)
Device was already released
Trait Implementations§
source§impl Clone for FrontBufferError
impl Clone for FrontBufferError
source§fn clone(&self) -> FrontBufferError
fn clone(&self) -> FrontBufferError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FrontBufferError
impl Debug for FrontBufferError
source§impl Display for FrontBufferError
impl Display for FrontBufferError
source§impl Error for FrontBufferError
impl Error for FrontBufferError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting