Enum vulkano::query::GetResultsError
source · [−]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)
Not enough memory.
Trait Implementations
sourceimpl Clone for GetResultsError
impl Clone for GetResultsError
sourcefn clone(&self) -> GetResultsError
fn clone(&self) -> GetResultsError
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 GetResultsError
impl Debug for GetResultsError
sourceimpl Display for GetResultsError
impl Display for GetResultsError
sourceimpl Error for GetResultsError
impl Error for GetResultsError
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<GetResultsError> for CheckCopyQueryPoolResultsError
impl From<GetResultsError> for CheckCopyQueryPoolResultsError
sourcefn from(value: GetResultsError) -> Self
fn from(value: GetResultsError) -> Self
Performs the conversion.
sourceimpl From<OomError> for GetResultsError
impl From<OomError> for GetResultsError
sourceimpl PartialEq<GetResultsError> for GetResultsError
impl PartialEq<GetResultsError> for GetResultsError
sourcefn eq(&self, other: &GetResultsError) -> bool
fn eq(&self, other: &GetResultsError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GetResultsError) -> bool
fn ne(&self, other: &GetResultsError) -> bool
This method tests for !=
.
impl Eq for GetResultsError
impl StructuralEq for GetResultsError
impl StructuralPartialEq for GetResultsError
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
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