Enum azul_glutin::CreationError [−][src]
pub enum CreationError { OsError(String), NotSupported(String), NoBackendAvailable(Box<dyn Error + Send + Sync>), RobustnessNotSupported, OpenGlVersionNotSupported, NoAvailablePixelFormat, PlatformSpecific(String), Window(OsError), CreationErrors(Vec<Box<CreationError>>), }
Expand description
Error that can happen while creating a window or a headless renderer.
Variants
OsError(String)
NotSupported(String)
PlatformSpecific(String)
Window(OsError)
CreationErrors(Vec<Box<CreationError>>)
Expand description
We received multiple errors, instead of one.
Trait Implementations
impl Debug for CreationError
[src]
impl Debug for CreationError
[src]impl Display for CreationError
[src]
impl Display for CreationError
[src]impl Error for CreationError
[src]
impl Error for CreationError
[src]fn description(&self) -> &str
[src]
fn description(&self) -> &str
[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
fn cause(&self) -> Option<&dyn Error>
[src]
fn cause(&self) -> Option<&dyn Error>
[src]👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
Auto Trait Implementations
impl !RefUnwindSafe for CreationError
impl Send for CreationError
impl Sync for CreationError
impl Unpin for CreationError
impl !UnwindSafe for CreationError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more