Enum vulkano::sync::FenceError
source · [−]pub enum FenceError {
OomError(OomError),
DeviceLost,
Timeout,
RequirementNotMet {
required_for: &'static str,
requires_one_of: RequiresOneOf,
},
}
Variants
OomError(OomError)
Not enough memory available.
DeviceLost
The device has been lost.
Timeout
The specified timeout wasn’t long enough.
RequirementNotMet
Trait Implementations
sourceimpl Clone for FenceError
impl Clone for FenceError
sourcefn clone(&self) -> FenceError
fn clone(&self) -> FenceError
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 moresourceimpl Debug for FenceError
impl Debug for FenceError
sourceimpl Display for FenceError
impl Display for FenceError
sourceimpl Error for FenceError
impl Error for FenceError
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
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<FenceError> for AcquireError
impl From<FenceError> for AcquireError
sourcefn from(err: FenceError) -> Self
fn from(err: FenceError) -> Self
Converts to this type from the input type.
sourceimpl From<FenceError> for FlushError
impl From<FenceError> for FlushError
sourcefn from(err: FenceError) -> FlushError
fn from(err: FenceError) -> FlushError
Converts to this type from the input type.
sourceimpl From<OomError> for FenceError
impl From<OomError> for FenceError
sourceimpl From<VulkanError> for FenceError
impl From<VulkanError> for FenceError
sourcefn from(err: VulkanError) -> Self
fn from(err: VulkanError) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<FenceError> for FenceError
impl PartialEq<FenceError> for FenceError
sourcefn eq(&self, other: &FenceError) -> bool
fn eq(&self, other: &FenceError) -> bool
impl Copy for FenceError
impl Eq for FenceError
impl StructuralEq for FenceError
impl StructuralPartialEq for FenceError
Auto Trait Implementations
impl RefUnwindSafe for FenceError
impl Send for FenceError
impl Sync for FenceError
impl Unpin for FenceError
impl UnwindSafe for FenceError
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