[][src]Enum gfx_hal::device::CreationError

pub enum CreationError {
    OutOfMemory(OutOfMemory),
    InitializationFailed,
    MissingExtension,
    MissingFeature,
    TooManyObjects,
    DeviceLost,
}

Device creation errors during open.

Variants

OutOfMemory(OutOfMemory)

Out of either host or device memory.

InitializationFailed

Device initialization failed due to implementation specific errors.

MissingExtension

At least one of the user requested extensions if not supported by the physical device.

MissingFeature

At least one of the user requested features if not supported by the physical device.

Use features for checking the supported features.

TooManyObjects

Too many logical devices have been created from this physical device.

The implementation may only support one logical device for each physical device or lacks resources to allocate a new device.

DeviceLost

The logical or physical device are lost during the device creation process.

This may be caused by hardware failure, physical device removal, power outage, etc.

Trait Implementations

impl Clone for CreationError[src]

impl PartialEq<CreationError> for CreationError[src]

impl Display for CreationError[src]

impl Debug for CreationError[src]

impl StructuralPartialEq for CreationError[src]

impl Error for CreationError[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]