Enum vulkano::query::GetResultsError [−][src]
pub enum GetResultsError {
BufferTooSmall {
required_len: DeviceSize,
actual_len: DeviceSize,
},
DeviceLost,
InvalidFlags,
OomError(OomError),
}
Expand description
Error that can happen when calling QueriesRange::get_results
.
Variants
BufferTooSmall
Fields
required_len: DeviceSize
Required number of elements in the buffer.
actual_len: DeviceSize
Actual number of elements in the buffer.
The buffer is too small for the operation.
DeviceLost
The connection to the device has been lost.
InvalidFlags
The provided flags are not allowed for this type of query.
OomError(OomError)
Tuple Fields
0: OomError
Not enough memory.
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for GetResultsError
impl Send for GetResultsError
impl Sync for GetResultsError
impl Unpin for GetResultsError
impl UnwindSafe for GetResultsError
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.