Enum vulkano::device::physical::PhysicalDeviceError
source · pub enum PhysicalDeviceError {
VulkanError(VulkanError),
RequirementNotMet {
required_for: &'static str,
requires_one_of: RequiresOneOf,
},
NotSupported,
QueueFamilyIndexOutOfRange {
queue_family_index: u32,
queue_family_count: u32,
},
SurfaceNotSupported,
}
Expand description
Error that can happen when using a physical device.
Variants§
VulkanError(VulkanError)
RequirementNotMet
NotSupported
QueueFamilyIndexOutOfRange
The provided queue_family_index
was not less than the number of queue families in the
physical device.
SurfaceNotSupported
Trait Implementations§
source§impl Clone for PhysicalDeviceError
impl Clone for PhysicalDeviceError
source§fn clone(&self) -> PhysicalDeviceError
fn clone(&self) -> PhysicalDeviceError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PhysicalDeviceError
impl Debug for PhysicalDeviceError
source§impl Display for PhysicalDeviceError
impl Display for PhysicalDeviceError
source§impl Error for PhysicalDeviceError
impl Error for PhysicalDeviceError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<VulkanError> for PhysicalDeviceError
impl From<VulkanError> for PhysicalDeviceError
source§fn from(err: VulkanError) -> Self
fn from(err: VulkanError) -> Self
Converts to this type from the input type.