Struct gbm::WrongDeviceError
source · pub struct WrongDeviceError;
Expand description
Thrown when the gbm device does not belong to the buffer object
Trait Implementations§
source§impl Clone for WrongDeviceError
impl Clone for WrongDeviceError
source§fn clone(&self) -> WrongDeviceError
fn clone(&self) -> WrongDeviceError
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 WrongDeviceError
impl Debug for WrongDeviceError
source§impl Display for WrongDeviceError
impl Display for WrongDeviceError
source§impl Error for WrongDeviceError
impl Error for WrongDeviceError
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