Enum vulkano::sync::FenceError
source · pub enum FenceError {
Show 15 variants
OomError(OomError),
DeviceLost,
Timeout,
RequirementNotMet {
required_for: &'static str,
requires_one_of: RequiresOneOf,
},
AlreadyExported,
ExportFromImportedNotSupported {
imported_handle_type: ExternalFenceHandleType,
},
ExportHandleTypesNotCompatible,
HandleTypeCopyNotSignaled,
HandletypeCopyNotTemporary,
HandleTypeNotEnabled,
HandleTypeNotExportable {
handle_type: ExternalFenceHandleType,
},
HandleTypeNotFd,
HandleTypeNotWin32,
ImportedForSwapchainAcquire,
InQueue,
}
Variants
OomError(OomError)
Not enough memory available.
DeviceLost
The device has been lost.
Timeout
The specified timeout wasn’t long enough.
RequirementNotMet
AlreadyExported
The provided handle type does not permit more than one export, and a handle of this type was already exported previously.
ExportFromImportedNotSupported
Fields
imported_handle_type: ExternalFenceHandleType
The provided handle type cannot be exported from the current import handle type.
ExportHandleTypesNotCompatible
One of the export handle types is not compatible with the other provided handles.
HandleTypeCopyNotSignaled
A handle type with copy transference was provided, but the fence is not signaled and there is no pending queue operation that will signal it.
HandletypeCopyNotTemporary
A handle type with copy transference was provided,
but the temporary
import flag was not set.
HandleTypeNotEnabled
The provided export handle type was not set in export_handle_types
when creating the
fence.
HandleTypeNotExportable
Fields
handle_type: ExternalFenceHandleType
Exporting is not supported for the provided handle type.
HandleTypeNotFd
The provided handle type is not a POSIX file descriptor handle.
HandleTypeNotWin32
The provided handle type is not a Win32 handle.
ImportedForSwapchainAcquire
The fence currently has a temporary import for a swapchain acquire operation.
InQueue
The fence is currently in use by a queue.
Trait Implementations
sourceimpl Clone for FenceError
impl Clone for FenceError
sourcefn clone(&self) -> FenceError
fn clone(&self) -> FenceError
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more