Enum move_core_types::vm_status::AbortLocation
source · pub enum AbortLocation {
Module(ModuleId),
Script,
}
Expand description
An AbortLocation
specifies where a Move program abort
occurred, either in a function in
a module, or in a script
Variants§
Module(ModuleId)
Indicates abort
occurred in the specified module
Script
Indicates the abort
occurred in a script
Trait Implementations§
source§impl Arbitrary for AbortLocation
impl Arbitrary for AbortLocation
§type Parameters = ()
type Parameters = ()
The type of parameters that
arbitrary_with
accepts for configuration
of the generated Strategy
. Parameters must implement Default
.§type Strategy = TupleUnion<((u32, Arc<Map<<ModuleId as Arbitrary>::Strategy, fn(_: ModuleId) -> AbortLocation>>), (u32, Arc<fn() -> AbortLocation>))>
type Strategy = TupleUnion<((u32, Arc<Map<<ModuleId as Arbitrary>::Strategy, fn(_: ModuleId) -> AbortLocation>>), (u32, Arc<fn() -> AbortLocation>))>
The type of
Strategy
used to generate values of type Self
.source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
source§impl Clone for AbortLocation
impl Clone for AbortLocation
source§fn clone(&self) -> AbortLocation
fn clone(&self) -> AbortLocation
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AbortLocation
impl Debug for AbortLocation
source§impl<'de> Deserialize<'de> for AbortLocation
impl<'de> Deserialize<'de> for AbortLocation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for AbortLocation
impl Display for AbortLocation
source§impl Hash for AbortLocation
impl Hash for AbortLocation
source§impl Ord for AbortLocation
impl Ord for AbortLocation
source§fn cmp(&self, other: &AbortLocation) -> Ordering
fn cmp(&self, other: &AbortLocation) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<AbortLocation> for AbortLocation
impl PartialEq<AbortLocation> for AbortLocation
source§fn eq(&self, other: &AbortLocation) -> bool
fn eq(&self, other: &AbortLocation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<AbortLocation> for AbortLocation
impl PartialOrd<AbortLocation> for AbortLocation
source§fn partial_cmp(&self, other: &AbortLocation) -> Option<Ordering>
fn partial_cmp(&self, other: &AbortLocation) -> Option<Ordering>
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