Enum gfx_hal::device::CreationError [−][src]
pub enum CreationError { OutOfMemory(OutOfMemory), InitializationFailed, MissingFeature, TooManyObjects, DeviceLost, }
Device creation errors during open
.
Variants
OutOfMemory(OutOfMemory)
Out of either host or device memory.
Device initialization failed due to implementation specific errors.
At least one of the user requested features if not supported by the physical device.
Use features
for checking the supported features.
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.
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 Clone for CreationError
[src]fn clone(&self) -> CreationError
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Error for CreationError
[src]
impl Error for CreationError
[src]impl From<OutOfMemory> for CreationError
[src]
impl From<OutOfMemory> for CreationError
[src]fn from(source: OutOfMemory) -> Self
[src]
impl PartialEq<CreationError> for CreationError
[src]
impl PartialEq<CreationError> for CreationError
[src]fn eq(&self, other: &CreationError) -> bool
[src]
fn ne(&self, other: &CreationError) -> bool
[src]
impl StructuralPartialEq for CreationError
[src]
impl StructuralPartialEq for CreationError
[src]Auto Trait Implementations
impl RefUnwindSafe for CreationError
impl RefUnwindSafe for CreationError
impl Send for CreationError
impl Send for CreationError
impl Sync for CreationError
impl Sync for CreationError
impl Unpin for CreationError
impl Unpin for CreationError
impl UnwindSafe for CreationError
impl UnwindSafe for CreationError