pub enum GlesContextError {
DisplayCreationFailed,
NoConfigFound,
EglContextCreationFailed(String),
MakeCurrentFailed,
}Variants§
Trait Implementations§
Source§impl Debug for GlesContextError
impl Debug for GlesContextError
Source§impl Display for GlesContextError
impl Display for GlesContextError
Source§impl Error for GlesContextError
impl Error for GlesContextError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for GlesContextError
impl RefUnwindSafe for GlesContextError
impl Send for GlesContextError
impl Sync for GlesContextError
impl Unpin for GlesContextError
impl UnsafeUnpin for GlesContextError
impl UnwindSafe for GlesContextError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more