Enum hsa::ErrorStatus []

#[repr(C)]
pub enum ErrorStatus { InvalidArgument, InvalidQueueCreation, InvalidAllocation, InvalidAgent, InvalidRegion, InvalidSignal, InvalidQueue, OutOfResources, InvalidPacketFormat, ResourceFree, NotInitialized, RefCountOverflow, IncompatibleArguments, InvalidIndex, InvalidISA, InvalidCodeObject, InvalidExecutable, FrozenExecutable, InvalidSymbolName, VariableAlreadyDefined, VariableUndefined, Exception, InvalidISAName, InvalidCodeSymbol, InvalidExecutableSymbol, InvalidFile, InvalidCodeObjectReader, InvalidCache, InvalidWavefront, InvalidSignalGroup, InvalidRuntimeState, InvalidProgram, InvalidModule, IncompatibleModule, ModuleAlreadyIncluded, SymbolMismatch, FinalizationFailed, DirectiveMismatch, InvalidCodeObjectWriter, ImageFormatUnsupported, ImageSizeUnsupported, ImagePitchUnsupported, SamplerDescriptorUnsupported, InvalidSessionState, InvalidSamplingContext, CannotStopSession, EventsNotInitialized, AlreadyInitialized, OutOfEvents, EventNotRegistered, CannotUseProducers, }

Variants

Trait Implementations

impl Debug for ErrorStatus
[src]

Formats the value using the given formatter.

impl FromPrimitive for ErrorStatus

Convert an i64 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

Convert an u64 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

Convert an isize to return an optional value of this type. If the value cannot be represented by this value, the None is returned. Read more

Convert an i8 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

Convert an i16 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

Convert an i32 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

Convert a usize to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

Convert an u8 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

Convert an u16 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

Convert an u32 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

Convert a f32 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

Convert a f64 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more