Struct move_binary_format::errors::VMError
source · pub struct VMError { /* private fields */ }
Implementations§
source§impl VMError
impl VMError
pub fn into_vm_status(self) -> VMStatus
pub fn major_status(&self) -> StatusCode
pub fn sub_status(&self) -> Option<u64>
pub fn message(&self) -> Option<&String>
pub fn location(&self) -> &Location
pub fn indices(&self) -> &Vec<(IndexKind, TableIndex)> ⓘ
pub fn offsets(&self) -> &Vec<(FunctionDefinitionIndex, CodeOffset)> ⓘ
pub fn status_type(&self) -> StatusType
pub fn all_data( self ) -> (StatusCode, Option<u64>, Option<String>, Location, Vec<(IndexKind, TableIndex)>, Vec<(FunctionDefinitionIndex, CodeOffset)>)
Trait Implementations§
source§impl From<VMError> for VMStatus
impl From<VMError> for VMStatus
Conversion functions from internal VM statuses into external VM statuses
source§impl Ord for VMError
impl Ord for VMError
source§impl PartialEq<VMError> for VMError
impl PartialEq<VMError> for VMError
source§impl PartialOrd<VMError> for VMError
impl PartialOrd<VMError> for VMError
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more