Enum 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)
Tuple Fields
0: String
NotSupported(String)
Tuple Fields
0: String
NoBackendAvailable(Box<dyn Error + Send + Sync>)
RobustnessNotSupported
OpenGlVersionNotSupported
NoAvailablePixelFormat
PlatformSpecific(String)
Tuple Fields
0: String
Window(OsError)
Tuple Fields
0: OsError
CreationErrors(Vec<Box<CreationError>>)
Tuple Fields
0: Vec<Box<CreationError>>
We received multiple errors, instead of one.
Trait Implementations
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
The lower-level source of this error, if any. Read more
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
👎 Deprecated since 1.42.0:
use the Display impl or to_string()