Enum glutin::CreationError [−][src]
pub enum CreationError {
OsError(String),
NotSupported(&'static str),
NoBackendAvailable(Box<Error + Send>),
RobustnessNotSupported,
OpenGlVersionNotSupported,
NoAvailablePixelFormat,
PlatformSpecific(String),
Window(WindowCreationError),
}Error that can happen while creating a window or a headless renderer.
Variants
OsError(String)NotSupported(&'static str)TODO: remove this error
NoBackendAvailable(Box<Error + Send>)RobustnessNotSupportedOpenGlVersionNotSupportedNoAvailablePixelFormatPlatformSpecific(String)Window(WindowCreationError)Trait Implementations
impl Debug for CreationError[src]
impl Debug for CreationErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Display for CreationError[src]
impl Display for CreationErrorfn fmt(&self, formatter: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, formatter: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Error for CreationError[src]
impl Error for CreationErrorfn description(&self) -> &str[src]
fn description(&self) -> &strThis method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>[src]
fn cause(&self) -> Option<&Error>The lower-level cause of this error, if any. Read more
impl From<WindowCreationError> for CreationError[src]
impl From<WindowCreationError> for CreationErrorfn from(err: WindowCreationError) -> Self[src]
fn from(err: WindowCreationError) -> SelfPerforms the conversion.
Auto Trait Implementations
impl Send for CreationError
impl Send for CreationErrorimpl !Sync for CreationError
impl !Sync for CreationError