pub enum CheckCopyQueryPoolResultsError {
BufferTooSmall {
required_len: DeviceSize,
actual_len: DeviceSize,
},
DestinationMissingTransferUsage,
InvalidFlags,
OutOfRange,
}
Expand description
Error that can happen from check_copy_query_pool_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 copy operation.
DestinationMissingTransferUsage
The destination buffer is missing the transfer destination usage.
InvalidFlags
The provided flags are not allowed for this type of query.
OutOfRange
The provided queries range is not valid for this pool.
Trait Implementations
sourceimpl Clone for CheckCopyQueryPoolResultsError
impl Clone for CheckCopyQueryPoolResultsError
sourcefn clone(&self) -> CheckCopyQueryPoolResultsError
fn clone(&self) -> CheckCopyQueryPoolResultsError
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 Error for CheckCopyQueryPoolResultsError
impl Error for CheckCopyQueryPoolResultsError
1.30.0 · 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<CheckCopyQueryPoolResultsError> for CopyQueryPoolResultsError
impl From<CheckCopyQueryPoolResultsError> for CopyQueryPoolResultsError
sourcefn from(err: CheckCopyQueryPoolResultsError) -> CopyQueryPoolResultsError
fn from(err: CheckCopyQueryPoolResultsError) -> CopyQueryPoolResultsError
Performs the conversion.
sourceimpl From<GetResultsError> for CheckCopyQueryPoolResultsError
impl From<GetResultsError> for CheckCopyQueryPoolResultsError
sourcefn from(value: GetResultsError) -> Self
fn from(value: GetResultsError) -> Self
Performs the conversion.
impl Copy for CheckCopyQueryPoolResultsError
Auto Trait Implementations
impl RefUnwindSafe for CheckCopyQueryPoolResultsError
impl Send for CheckCopyQueryPoolResultsError
impl Sync for CheckCopyQueryPoolResultsError
impl Unpin for CheckCopyQueryPoolResultsError
impl UnwindSafe for CheckCopyQueryPoolResultsError
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