pub enum FFIErrorCode {
None,
InvalidPointer,
DeployNonexistentContract,
CreateNonexistentMockContract,
DeserializeError,
UnrecoverableError,
ContractVerificationFailed,
InvalidArgument,
Unknown(u32),
}Variants§
None
InvalidPointer
DeployNonexistentContract
CreateNonexistentMockContract
DeserializeError
UnrecoverableError
ContractVerificationFailed
InvalidArgument
Unknown(u32)
Trait Implementations§
Source§impl Clone for FFIErrorCode
impl Clone for FFIErrorCode
impl Copy for FFIErrorCode
Source§impl Debug for FFIErrorCode
impl Debug for FFIErrorCode
Source§impl Display for FFIErrorCode
impl Display for FFIErrorCode
impl Eq for FFIErrorCode
Source§impl Error for FFIErrorCode
impl Error for FFIErrorCode
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<u32> for FFIErrorCode
impl From<u32> for FFIErrorCode
Source§impl PartialEq for FFIErrorCode
impl PartialEq for FFIErrorCode
impl StructuralPartialEq for FFIErrorCode
Auto Trait Implementations§
impl Freeze for FFIErrorCode
impl RefUnwindSafe for FFIErrorCode
impl Send for FFIErrorCode
impl Sync for FFIErrorCode
impl Unpin for FFIErrorCode
impl UnsafeUnpin for FFIErrorCode
impl UnwindSafe for FFIErrorCode
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