pub fn status_code(&self) -> StatusCode {
        match self {
            Self::Executed => StatusCode::EXECUTED,
            Self::MoveAbort(_, _) => StatusCode::ABORTED,
            Self::Error(code) => {
                let code = *code;
                debug_assert!(code != StatusCode::EXECUTED);
                debug_assert!(code != StatusCode::ABORTED);
                code
            }
        }
    }
/// Return the status code for the `VMStatus`
Return the status code for the `VMStatus`
Return the status code for the ` VMStatus `
pub fn status_code(&self) -> StatusCode {
        match self {
            Self::Executed => StatusCode::EXECUTED,
            Self::MoveAbort(_, _) => StatusCode::ABORTED,
            Self::Error(code) => {
                let code = *code;
                debug_assert!(code != StatusCode::EXECUTED);
                debug_assert!(code != StatusCode::ABORTED);
                code
            }
        }
    }
pub fn status_code ( & self ) -> StatusCode { match self { Self :: Executed => StatusCode :: EXECUTED , Self :: MoveAbort ( _ , _ ) => StatusCode :: ABORTED , Self :: Error ( code ) => { let code = * code ; debug_assert ! ( code StatusCode EXECUTED ) ; debug_assert ! ( code StatusCode ABORTED ) ; code } } }
Return the status code for the `VMStatus`
Return the status code for the ` VMStatus `
&self
&self