Enum smithay::backend::egl::BufferAccessError
source · pub enum BufferAccessError {
ContextLost,
NotManaged(Resource<WlBuffer>),
EGLImageCreationFailed,
EglExtensionNotSupported(EglExtensionNotSupportedError),
}
Expand description
Error that can occur when accessing an EGL buffer
Variants§
ContextLost
The corresponding Context is not alive anymore
NotManaged(Resource<WlBuffer>)
This buffer is not managed by the EGL buffer
EGLImageCreationFailed
Failed to create EGLImages
from the buffer
EglExtensionNotSupported(EglExtensionNotSupportedError)
The required EGL extension is not supported by the underlying EGL implementation
Trait Implementations§
source§impl Debug for BufferAccessError
impl Debug for BufferAccessError
source§impl Display for BufferAccessError
impl Display for BufferAccessError
source§impl Error for BufferAccessError
impl Error for BufferAccessError
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
source§impl From<EglExtensionNotSupportedError> for BufferAccessError
impl From<EglExtensionNotSupportedError> for BufferAccessError
source§fn from(error: EglExtensionNotSupportedError) -> Self
fn from(error: EglExtensionNotSupportedError) -> Self
Converts to this type from the input type.