/// Convert into cheap info enum which only described the reason.
Convert into cheap info enum which only described the reason.
Convert into cheap info enum which only described the reason .
pub fn into_info(self) -> VmHaltInfo {
        match self {
            Self::Exited => VmHaltInfo::Exited,
            Self::Limited => VmHaltInfo::Limited,
            Self::Yielded => VmHaltInfo::Yielded,
            Self::Awaited(..) => VmHaltInfo::Awaited,
            Self::VmCall(..) => VmHaltInfo::VmCall,
        }
    }
pub fn into_info ( self ) -> VmHaltInfo { match self { Self :: Exited => VmHaltInfo :: Exited , Self :: Limited => VmHaltInfo :: Limited , Self :: Yielded => VmHaltInfo :: Yielded , Self :: Awaited ( .. ) => VmHaltInfo :: Awaited , Self :: VmCall ( .. ) => VmHaltInfo :: VmCall , } }
Convert into cheap info enum which only described the reason.
Convert into cheap info enum which only described the reason .
self