Enum wgpu::SwapChainError [−][src]
pub enum SwapChainError { Timeout, Outdated, Lost, OutOfMemory, }
Expand description
Result of an unsuccessful call to SwapChain::get_current_frame
.
Variants
A timeout was encountered while trying to acquire the next frame.
The underlying surface has changed, and therefore the swap chain must be updated.
The swap chain has been lost and needs to be recreated.
There is no more memory left to allocate a new frame.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SwapChainError
impl Send for SwapChainError
impl Sync for SwapChainError
impl Unpin for SwapChainError
impl UnwindSafe for SwapChainError
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.