#[repr(i32)]
pub enum halide_error_code_t {
Show 46 variants halide_error_code_success, halide_error_code_generic_error, halide_error_code_explicit_bounds_too_small, halide_error_code_bad_type, halide_error_code_access_out_of_bounds, halide_error_code_buffer_allocation_too_large, halide_error_code_buffer_extents_too_large, halide_error_code_constraints_make_required_region_smaller, halide_error_code_constraint_violated, halide_error_code_param_too_small, halide_error_code_param_too_large, halide_error_code_out_of_memory, halide_error_code_buffer_argument_is_null, halide_error_code_debug_to_file_failed, halide_error_code_copy_to_host_failed, halide_error_code_copy_to_device_failed, halide_error_code_device_malloc_failed, halide_error_code_device_sync_failed, halide_error_code_device_free_failed, halide_error_code_no_device_interface, halide_error_code_matlab_init_failed, halide_error_code_matlab_bad_param_type, halide_error_code_internal_error, halide_error_code_device_run_failed, halide_error_code_unaligned_host_ptr, halide_error_code_bad_fold, halide_error_code_fold_factor_too_small, halide_error_code_requirement_failed, halide_error_code_buffer_extents_negative, halide_error_code_unused_29, halide_error_code_unused_30, halide_error_code_specialize_fail, halide_error_code_device_wrap_native_failed, halide_error_code_device_detach_native_failed, halide_error_code_host_is_null, halide_error_code_bad_extern_fold, halide_error_code_device_interface_no_device, halide_error_code_host_and_device_dirty, halide_error_code_buffer_is_null, halide_error_code_device_buffer_copy_failed, halide_error_code_device_crop_unsupported, halide_error_code_device_crop_failed, halide_error_code_incompatible_device_interface, halide_error_code_bad_dimensions, halide_error_code_device_dirty_with_no_device_support, halide_error_code_storage_bound_too_small,
}

Variants

halide_error_code_success

halide_error_code_generic_error

halide_error_code_explicit_bounds_too_small

halide_error_code_bad_type

halide_error_code_access_out_of_bounds

halide_error_code_buffer_allocation_too_large

halide_error_code_buffer_extents_too_large

halide_error_code_constraints_make_required_region_smaller

halide_error_code_constraint_violated

halide_error_code_param_too_small

halide_error_code_param_too_large

halide_error_code_out_of_memory

halide_error_code_buffer_argument_is_null

halide_error_code_debug_to_file_failed

halide_error_code_copy_to_host_failed

halide_error_code_copy_to_device_failed

halide_error_code_device_malloc_failed

halide_error_code_device_sync_failed

halide_error_code_device_free_failed

halide_error_code_no_device_interface

halide_error_code_matlab_init_failed

halide_error_code_matlab_bad_param_type

halide_error_code_internal_error

halide_error_code_device_run_failed

halide_error_code_unaligned_host_ptr

halide_error_code_bad_fold

halide_error_code_fold_factor_too_small

halide_error_code_requirement_failed

halide_error_code_buffer_extents_negative

halide_error_code_unused_29

halide_error_code_unused_30

halide_error_code_specialize_fail

halide_error_code_device_wrap_native_failed

halide_error_code_device_detach_native_failed

halide_error_code_host_is_null

halide_error_code_bad_extern_fold

halide_error_code_device_interface_no_device

halide_error_code_host_and_device_dirty

halide_error_code_buffer_is_null

halide_error_code_device_buffer_copy_failed

halide_error_code_device_crop_unsupported

halide_error_code_device_crop_failed

halide_error_code_incompatible_device_interface

halide_error_code_bad_dimensions

halide_error_code_device_dirty_with_no_device_support

halide_error_code_storage_bound_too_small

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.