#[repr(u32)]pub enum Status {
Show 32 variants
Success = 0,
Uninitialized = 1,
InvalidArgument = 2,
NotSupported = 3,
NoPermission = 4,
AlreadyInitialized = 5,
NotFound = 6,
InsufficientSize = 7,
InsufficientPower = 8,
DriverNotLoaded = 9,
Timeout = 10,
IrqIssue = 11,
LibraryNotFound = 12,
FunctionNotFound = 13,
CorruptedInforom = 14,
GpuIsLost = 15,
ResetRequired = 16,
OperatingSystem = 17,
LibRmVersionMismatch = 18,
InUse = 19,
Memory = 20,
NoData = 21,
VgpuEccNotSupported = 22,
InsufficientResources = 23,
FreqNotSupported = 24,
ArgumentVersionMismatch = 25,
Deprecated = 26,
NotReady = 27,
GpuNotFound = 28,
InvalidState = 29,
ResetTypeNotSupported = 30,
Unknown = 999,
}Variants§
Success = 0
Uninitialized = 1
InvalidArgument = 2
NotSupported = 3
NoPermission = 4
AlreadyInitialized = 5
👎Deprecated
NotFound = 6
InsufficientSize = 7
InsufficientPower = 8
DriverNotLoaded = 9
Timeout = 10
IrqIssue = 11
LibraryNotFound = 12
FunctionNotFound = 13
CorruptedInforom = 14
GpuIsLost = 15
ResetRequired = 16
OperatingSystem = 17
LibRmVersionMismatch = 18
InUse = 19
Memory = 20
NoData = 21
VgpuEccNotSupported = 22
InsufficientResources = 23
FreqNotSupported = 24
ArgumentVersionMismatch = 25
Deprecated = 26
NotReady = 27
GpuNotFound = 28
InvalidState = 29
ResetTypeNotSupported = 30
Unknown = 999
Implementations§
Trait Implementations§
Source§impl From<Status> for nvmlReturn_t
impl From<Status> for nvmlReturn_t
Source§impl From<nvmlReturn_enum> for Status
impl From<nvmlReturn_enum> for Status
Source§fn from(value: nvmlReturn_t) -> Self
fn from(value: nvmlReturn_t) -> Self
Converts to this type from the input type.
Source§impl TryFromPrimitive for Status
impl TryFromPrimitive for Status
impl Copy for Status
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnsafeUnpin for Status
impl UnwindSafe for Status
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