#[repr(i32)]
#[non_exhaustive]
pub enum SmartModuleInitErrorStatus {
UnknownError,
InitError,
DecodingInput,
EncodingOutput,
}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.
UnknownError
InitError
DecodingInput
EncodingOutput
Trait Implementations
sourceimpl Clone for SmartModuleInitErrorStatus
impl Clone for SmartModuleInitErrorStatus
sourcefn clone(&self) -> SmartModuleInitErrorStatus
fn clone(&self) -> SmartModuleInitErrorStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for SmartModuleInitErrorStatus
impl Debug for SmartModuleInitErrorStatus
sourceimpl Decoder for SmartModuleInitErrorStatus
impl Decoder for SmartModuleInitErrorStatus
sourceimpl Default for SmartModuleInitErrorStatus
impl Default for SmartModuleInitErrorStatus
sourcefn default() -> SmartModuleInitErrorStatus
fn default() -> SmartModuleInitErrorStatus
Returns the “default value” for a type. Read more
sourceimpl Display for SmartModuleInitErrorStatus
impl Display for SmartModuleInitErrorStatus
sourceimpl Encoder for SmartModuleInitErrorStatus
impl Encoder for SmartModuleInitErrorStatus
sourceimpl Error for SmartModuleInitErrorStatus
impl Error for SmartModuleInitErrorStatus
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl PartialEq<SmartModuleInitErrorStatus> for SmartModuleInitErrorStatus
impl PartialEq<SmartModuleInitErrorStatus> for SmartModuleInitErrorStatus
sourcefn eq(&self, other: &SmartModuleInitErrorStatus) -> bool
fn eq(&self, other: &SmartModuleInitErrorStatus) -> bool
sourceimpl TryFrom<i32> for SmartModuleInitErrorStatus
impl TryFrom<i32> for SmartModuleInitErrorStatus
impl Eq for SmartModuleInitErrorStatus
impl StructuralEq for SmartModuleInitErrorStatus
impl StructuralPartialEq for SmartModuleInitErrorStatus
Auto Trait Implementations
impl RefUnwindSafe for SmartModuleInitErrorStatus
impl Send for SmartModuleInitErrorStatus
impl Sync for SmartModuleInitErrorStatus
impl Unpin for SmartModuleInitErrorStatus
impl UnwindSafe for SmartModuleInitErrorStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more