pub struct DeviceLost;
Expand description
Error occurred caused device to be lost.
Trait Implementations§
Source§impl Clone for DeviceLost
impl Clone for DeviceLost
Source§fn clone(&self) -> DeviceLost
fn clone(&self) -> DeviceLost
Returns a duplicate 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)>
Returns 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 CreationError
impl From<DeviceLost> for CreationError
Source§fn from(error: DeviceLost) -> CreationError
fn from(error: DeviceLost) -> CreationError
Converts to this type from the input type.
Source§impl From<DeviceLost> for OomOrDeviceLost
impl From<DeviceLost> for OomOrDeviceLost
Source§fn from(error: DeviceLost) -> OomOrDeviceLost
fn from(error: DeviceLost) -> OomOrDeviceLost
Converts to this type from the input type.
Source§impl PartialEq for DeviceLost
impl PartialEq for DeviceLost
impl StructuralPartialEq for DeviceLost
Auto Trait Implementations§
impl Freeze for DeviceLost
impl RefUnwindSafe for DeviceLost
impl Send for DeviceLost
impl Sync for DeviceLost
impl Unpin for DeviceLost
impl UnwindSafe for DeviceLost
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more