Struct sierra::DeviceLost
source · pub struct DeviceLost;
Expand description
Error that may occur during execution on the device and then signalled on command submission or waiting operations.
This error is unrecoverable lost Device
state cannot be changed to not-lost.
It must be recreated.
Any mapped memory allocated from lost device is still valid for access, but its content is undefined.
If this error is returned by PhysicalDevice::create_device
function
then physical device is lost and cannot be used.
This may indicate that device was physically disconnected or developed a fault.
Trait Implementations§
source§impl Clone for DeviceLost
impl Clone for DeviceLost
source§fn clone(&self) -> DeviceLost
fn clone(&self) -> DeviceLost
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 DeviceLost
impl Debug for DeviceLost
source§impl Display for DeviceLost
impl Display for DeviceLost
source§impl Error for DeviceLost
impl Error for DeviceLost
1.30.0 · 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<DeviceLost> for PresentError
impl From<DeviceLost> for PresentError
source§fn from(source: DeviceLost) -> Self
fn from(source: DeviceLost) -> Self
Converts to this type from the input type.
source§impl From<DeviceLost> for QueueError
impl From<DeviceLost> for QueueError
source§fn from(source: DeviceLost) -> Self
fn from(source: DeviceLost) -> Self
Converts to this type from the input type.
source§impl From<DeviceLost> for SurfaceError
impl From<DeviceLost> for SurfaceError
source§fn from(source: DeviceLost) -> Self
fn from(source: DeviceLost) -> Self
Converts to this type from the input type.
source§impl PartialEq<DeviceLost> for DeviceLost
impl PartialEq<DeviceLost> for DeviceLost
source§fn eq(&self, other: &DeviceLost) -> bool
fn eq(&self, other: &DeviceLost) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.