pub fn can_abort(&self) -> bool {
        match self {
            Operation::Function(_, _, _) => true,
            Operation::Pack(_, _, _) => false,
            Operation::Unpack(_, _, _) => false,
            Operation::MoveTo(_, _, _) => true,
            Operation::MoveFrom(_, _, _) => true,
            Operation::Exists(_, _, _) => false,
            Operation::BorrowLoc => false,
            Operation::BorrowField(_, _, _, _) => false,
            Operation::BorrowGlobal(_, _, _) => true,
            Operation::GetField(_, _, _, _) => false,
            Operation::GetGlobal(_, _, _) => true,
            Operation::Destroy => false,
            Operation::ReadRef => false,
            Operation::WriteRef => false,
            Operation::FreezeRef => false,
            Operation::WriteBack(_) => false,
            Operation::Splice(_) => false,
            Operation::UnpackRef => false,
            Operation::PackRef => false,
            Operation::UnpackRefDeep => false,
            Operation::PackRefDeep => false,
            Operation::CastU8 => true,
            Operation::CastU64 => true,
            Operation::CastU128 => true,
            Operation::Not => false,
            Operation::Add => true,
            Operation::Sub => true,
            Operation::Mul => true,
            Operation::Div => true,
            Operation::Mod => true,
            Operation::BitOr => false,
            Operation::BitAnd => false,
            Operation::Xor => false,
            Operation::Shl => false,
            Operation::Shr => false,
            Operation::Lt => false,
            Operation::Gt => false,
            Operation::Le => false,
            Operation::Ge => false,
            Operation::Or => false,
            Operation::And => false,
            Operation::Eq => false,
            Operation::Neq => false,
            Operation::TraceLocal(..) => false,
            Operation::TraceAbort => false,
            Operation::TraceReturn(..) => false,
        }
    }
/// Returns true of the operation can cause abort.
Returns true of the operation can cause abort.
Returns true of the operation can cause abort .
pub fn can_abort(&self) -> bool {
        match self {
            Operation::Function(_, _, _) => true,
            Operation::Pack(_, _, _) => false,
            Operation::Unpack(_, _, _) => false,
            Operation::MoveTo(_, _, _) => true,
            Operation::MoveFrom(_, _, _) => true,
            Operation::Exists(_, _, _) => false,
            Operation::BorrowLoc => false,
            Operation::BorrowField(_, _, _, _) => false,
            Operation::BorrowGlobal(_, _, _) => true,
            Operation::GetField(_, _, _, _) => false,
            Operation::GetGlobal(_, _, _) => true,
            Operation::Destroy => false,
            Operation::ReadRef => false,
            Operation::WriteRef => false,
            Operation::FreezeRef => false,
            Operation::WriteBack(_) => false,
            Operation::Splice(_) => false,
            Operation::UnpackRef => false,
            Operation::PackRef => false,
            Operation::UnpackRefDeep => false,
            Operation::PackRefDeep => false,
            Operation::CastU8 => true,
            Operation::CastU64 => true,
            Operation::CastU128 => true,
            Operation::Not => false,
            Operation::Add => true,
            Operation::Sub => true,
            Operation::Mul => true,
            Operation::Div => true,
            Operation::Mod => true,
            Operation::BitOr => false,
            Operation::BitAnd => false,
            Operation::Xor => false,
            Operation::Shl => false,
            Operation::Shr => false,
            Operation::Lt => false,
            Operation::Gt => false,
            Operation::Le => false,
            Operation::Ge => false,
            Operation::Or => false,
            Operation::And => false,
            Operation::Eq => false,
            Operation::Neq => false,
            Operation::TraceLocal(..) => false,
            Operation::TraceAbort => false,
            Operation::TraceReturn(..) => false,
        }
    }
pub fn can_abort ( & self ) -> bool { match self { Operation :: Function ( _ , _ , _ ) => true , Operation :: Pack ( _ , _ , _ ) => false , Operation :: Unpack ( _ , _ , _ ) => false , Operation :: MoveTo ( _ , _ , _ ) => true , Operation :: MoveFrom ( _ , _ , _ ) => true , Operation :: Exists ( _ , _ , _ ) => false , Operation :: BorrowLoc => false , Operation :: BorrowField ( _ , _ , _ , _ ) => false , Operation :: BorrowGlobal ( _ , _ , _ ) => true , Operation :: GetField ( _ , _ , _ , _ ) => false , Operation :: GetGlobal ( _ , _ , _ ) => true , Operation :: Destroy => false , Operation :: ReadRef => false , Operation :: WriteRef => false , Operation :: FreezeRef => false , Operation :: WriteBack ( _ ) => false , Operation :: Splice ( _ ) => false , Operation :: UnpackRef => false , Operation :: PackRef => false , Operation :: UnpackRefDeep => false , Operation :: PackRefDeep => false , Operation :: CastU8 => true , Operation :: CastU64 => true , Operation :: CastU128 => true , Operation :: Not => false , Operation :: Add => true , Operation :: Sub => true , Operation :: Mul => true , Operation :: Div => true , Operation :: Mod => true , Operation :: BitOr => false , Operation :: BitAnd => false , Operation :: Xor => false , Operation :: Shl => false , Operation :: Shr => false , Operation :: Lt => false , Operation :: Gt => false , Operation :: Le => false , Operation :: Ge => false , Operation :: Or => false , Operation :: And => false , Operation :: Eq => false , Operation :: Neq => false , Operation :: TraceLocal ( .. ) => false , Operation :: TraceAbort => false , Operation :: TraceReturn ( .. ) => false , } }
Returns true of the operation can cause abort.
Returns true of the operation can cause abort .
&self