Enum gfx_hal::window::AcquireError
source · pub enum AcquireError {
NotReady,
OutOfDate,
SurfaceLost(SurfaceLost),
}
Expand description
Error on acquiring the next image from a swapchain.
Variants
NotReady
No image was ready after the specified timeout expired.
OutOfDate
The swapchain is no longer in sync with the surface, needs to be re-created.
SurfaceLost(SurfaceLost)
The surface was lost, and the swapchain is no longer usable.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AcquireError
impl Send for AcquireError
impl Sync for AcquireError
impl Unpin for AcquireError
impl UnwindSafe for AcquireError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more