Enum vulkano::sync::FlushError
source · [−]pub enum FlushError {
AccessError(AccessError),
OomError(OomError),
DeviceLost,
SurfaceLost,
OutOfDate,
FullScreenExclusiveLost,
Timeout,
}
Expand description
Error that can happen when creating a graphics pipeline.
Variants
AccessError(AccessError)
Access to a resource has been denied.
OomError(OomError)
Not enough memory.
DeviceLost
The connection to the device has been lost.
SurfaceLost
The surface is no longer accessible and must be recreated.
OutOfDate
The surface has changed in a way that makes the swapchain unusable. You must query the surface’s new properties and recreate a new swapchain if you want to continue drawing.
FullScreenExclusiveLost
The swapchain has lost or doesn’t have full screen exclusivity possibly for implementation-specific reasons outside of the application’s control.
Timeout
The flush operation needed to block, but the timeout has elapsed.
Trait Implementations
sourceimpl Clone for FlushError
impl Clone for FlushError
sourcefn clone(&self) -> FlushError
fn clone(&self) -> FlushError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for FlushError
impl Debug for FlushError
sourceimpl Display for FlushError
impl Display for FlushError
sourceimpl Error for FlushError
impl Error for FlushError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl From<AccessError> for FlushError
impl From<AccessError> for FlushError
sourcefn from(err: AccessError) -> FlushError
fn from(err: AccessError) -> FlushError
Performs the conversion.
sourceimpl From<FenceWaitError> for FlushError
impl From<FenceWaitError> for FlushError
sourcefn from(err: FenceWaitError) -> FlushError
fn from(err: FenceWaitError) -> FlushError
Performs the conversion.
sourceimpl From<SubmitBindSparseError> for FlushError
impl From<SubmitBindSparseError> for FlushError
sourcefn from(err: SubmitBindSparseError) -> FlushError
fn from(err: SubmitBindSparseError) -> FlushError
Performs the conversion.
sourceimpl From<SubmitCommandBufferError> for FlushError
impl From<SubmitCommandBufferError> for FlushError
sourcefn from(err: SubmitCommandBufferError) -> FlushError
fn from(err: SubmitCommandBufferError) -> FlushError
Performs the conversion.
sourceimpl From<SubmitPresentError> for FlushError
impl From<SubmitPresentError> for FlushError
sourcefn from(err: SubmitPresentError) -> FlushError
fn from(err: SubmitPresentError) -> FlushError
Performs the conversion.
sourceimpl PartialEq<FlushError> for FlushError
impl PartialEq<FlushError> for FlushError
sourcefn eq(&self, other: &FlushError) -> bool
fn eq(&self, other: &FlushError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FlushError) -> bool
fn ne(&self, other: &FlushError) -> bool
This method tests for !=
.
impl Eq for FlushError
impl StructuralEq for FlushError
impl StructuralPartialEq for FlushError
Auto Trait Implementations
impl RefUnwindSafe for FlushError
impl Send for FlushError
impl Sync for FlushError
impl Unpin for FlushError
impl UnwindSafe for FlushError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more