pub enum AcquireError {
Transient,
Fatal(String),
}Expand description
Errors that can occur when acquiring a frame from the backend.
Variants§
Transient
The acquire failed temporarily. The frame is skipped but rendering can continue on the next tick (e.g. the swapchain is out of date).
Fatal(String)
An unrecoverable error occurred. Includes a human-readable description.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AcquireError
impl RefUnwindSafe for AcquireError
impl Send for AcquireError
impl Sync for AcquireError
impl Unpin for AcquireError
impl UnsafeUnpin for AcquireError
impl UnwindSafe for AcquireError
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