#[non_exhaustive]#[repr(i32)]pub enum HapiResult {
Show 21 variants
Success = 0,
Failure = 1,
AlreadyInitialized = 2,
NotInitialized = 3,
CantLoadfile = 4,
ParmSetFailed = 5,
InvalidArgument = 6,
CantLoadGeo = 7,
CantGeneratePreset = 8,
CantLoadPreset = 9,
AssetDefAlreadyLoaded = 10,
NoLicenseFound = 110,
DisallowedNcLicenseFound = 120,
DisallowedNcAssetWithCLicense = 130,
DisallowedNcAssetWithLcLicense = 140,
DisallowedLcAssetWithCLicense = 150,
DisallowedHengineindieW3partyPlugin = 160,
AssetInvalid = 200,
NodeInvalid = 210,
UserInterrupted = 300,
InvalidSession = 400,
}
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 = 0
Failure = 1
AlreadyInitialized = 2
NotInitialized = 3
CantLoadfile = 4
ParmSetFailed = 5
InvalidArgument = 6
CantLoadGeo = 7
CantGeneratePreset = 8
CantLoadPreset = 9
AssetDefAlreadyLoaded = 10
NoLicenseFound = 110
DisallowedNcLicenseFound = 120
DisallowedNcAssetWithCLicense = 130
DisallowedNcAssetWithLcLicense = 140
DisallowedLcAssetWithCLicense = 150
DisallowedHengineindieW3partyPlugin = 160
AssetInvalid = 200
NodeInvalid = 210
UserInterrupted = 300
InvalidSession = 400
Trait Implementations§
Source§impl Clone for HapiResult
impl Clone for HapiResult
Source§fn clone(&self) -> HapiResult
fn clone(&self) -> HapiResult
Returns a duplicate 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 for HapiResult
impl PartialEq for HapiResult
impl Copy for HapiResult
impl Eq for HapiResult
impl StructuralPartialEq for HapiResult
Auto Trait Implementations§
impl Freeze for HapiResult
impl RefUnwindSafe for HapiResult
impl Send for HapiResult
impl Sync for HapiResult
impl Unpin for HapiResult
impl UnwindSafe for HapiResult
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