pub struct DeviceLoss {
pub reason: &'static str,
pub message: String,
}Expand description
A loss notification owned by the host rather than by any one JS client.
Fields§
§reason: &'static str§message: StringTrait Implementations§
Source§impl Clone for DeviceLoss
impl Clone for DeviceLoss
Auto Trait Implementations§
impl Forget for DeviceLoss
impl Freeze for DeviceLoss
impl Move for DeviceLoss
impl RefUnwindSafe for DeviceLoss
impl Send for DeviceLoss
impl Sync for DeviceLoss
impl Unpin for DeviceLoss
impl UnsafeUnpin for DeviceLoss
impl UnwindSafe for DeviceLoss
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