#[non_exhaustive]#[repr(u32)]pub enum cudaDriverEntryPointQueryResult {
cudaDriverEntryPointSuccess = 0,
cudaDriverEntryPointSymbolNotFound = 1,
cudaDriverEntryPointVersionNotSufficent = 2,
}Expand description
Enum for status from obtaining driver entry points, used with ::cudaApiGetDriverEntryPoint
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
cudaDriverEntryPointSuccess = 0
< Search for symbol found a match
cudaDriverEntryPointSymbolNotFound = 1
< Search for symbol was not found
cudaDriverEntryPointVersionNotSufficent = 2
< Search for symbol was found but version wasn’t great enough
Trait Implementations§
source§impl Clone for cudaDriverEntryPointQueryResult
impl Clone for cudaDriverEntryPointQueryResult
source§fn clone(&self) -> cudaDriverEntryPointQueryResult
fn clone(&self) -> cudaDriverEntryPointQueryResult
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl PartialEq for cudaDriverEntryPointQueryResult
impl PartialEq for cudaDriverEntryPointQueryResult
source§fn eq(&self, other: &cudaDriverEntryPointQueryResult) -> bool
fn eq(&self, other: &cudaDriverEntryPointQueryResult) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for cudaDriverEntryPointQueryResult
impl Eq for cudaDriverEntryPointQueryResult
impl StructuralPartialEq for cudaDriverEntryPointQueryResult
Auto Trait Implementations§
impl Freeze for cudaDriverEntryPointQueryResult
impl RefUnwindSafe for cudaDriverEntryPointQueryResult
impl Send for cudaDriverEntryPointQueryResult
impl Sync for cudaDriverEntryPointQueryResult
impl Unpin for cudaDriverEntryPointQueryResult
impl UnwindSafe for cudaDriverEntryPointQueryResult
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more