#[derive(Clone, Debug, PartialEq, thiserror::Error)]
pub enum DisplayControlError {
#[error("Out of host memory")]
OutOfHostMemory,
#[error("The feature is unsupported by the device")]
UnsupportedFeature,
}
#[derive(Clone, Debug, PartialEq)]
pub enum PowerState {
Off,
Suspend,
On,
}
#[derive(Clone, Debug, PartialEq)]
pub enum DeviceEvent {
DisplayHotplug,
}
#[derive(Clone, Debug, PartialEq)]
pub enum DisplayEvent {
FirstPixelOut,
}