Enum hapi_rs::geometry::HapiResult
source · #[repr(i32)]
#[non_exhaustive]
pub enum HapiResult {
Show 21 variants
Success,
Failure,
AlreadyInitialized,
NotInitialized,
CantLoadfile,
ParmSetFailed,
InvalidArgument,
CantLoadGeo,
CantGeneratePreset,
CantLoadPreset,
AssetDefAlreadyLoaded,
NoLicenseFound,
DisallowedNcLicenseFound,
DisallowedNcAssetWithCLicense,
DisallowedNcAssetWithLcLicense,
DisallowedLcAssetWithCLicense,
DisallowedHengineindieW3partyPlugin,
AssetInvalid,
NodeInvalid,
UserInterrupted,
InvalidSession,
}
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.
Success
Failure
AlreadyInitialized
NotInitialized
CantLoadfile
ParmSetFailed
InvalidArgument
CantLoadGeo
CantGeneratePreset
CantLoadPreset
AssetDefAlreadyLoaded
NoLicenseFound
DisallowedNcLicenseFound
DisallowedNcAssetWithCLicense
DisallowedNcAssetWithLcLicense
DisallowedLcAssetWithCLicense
DisallowedHengineindieW3partyPlugin
AssetInvalid
NodeInvalid
UserInterrupted
InvalidSession
Trait Implementations§
source§impl Clone for HapiResult
impl Clone for HapiResult
source§fn clone(&self) -> HapiResult
fn clone(&self) -> HapiResult
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 Debug for HapiResult
impl Debug for HapiResult
source§impl From<HapiResult> for HapiError
impl From<HapiResult> for HapiError
source§fn from(r: HapiResult) -> Self
fn from(r: HapiResult) -> Self
Converts to this type from the input type.
source§impl Hash for HapiResult
impl Hash for HapiResult
source§impl PartialEq<HapiResult> for HapiResult
impl PartialEq<HapiResult> for HapiResult
source§fn eq(&self, other: &HapiResult) -> bool
fn eq(&self, other: &HapiResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.