#[repr(i32)]pub enum AbortLevel {
SkipCurrentInstruction = 1,
SkipCurrentInstructionAndBreakOuter = 2,
Abort = 3,
}Variants§
SkipCurrentInstruction = 1
Skip current instruction but execute following ones
SkipCurrentInstructionAndBreakOuter = 2
Skip current instruction as well as following ones (default)
Abort = 3
Abort whole program
Implementations§
Source§impl AbortLevel
impl AbortLevel
Source§impl AbortLevel
impl AbortLevel
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Trait Implementations§
Source§impl Clone for AbortLevel
impl Clone for AbortLevel
Source§fn clone(&self) -> AbortLevel
fn clone(&self) -> AbortLevel
Returns a duplicate 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 AbortLevel
impl Debug for AbortLevel
Source§impl Default for AbortLevel
impl Default for AbortLevel
Source§fn default() -> AbortLevel
fn default() -> AbortLevel
Returns the “default value” for a type. Read more
Source§impl From<AbortLevel> for i32
impl From<AbortLevel> for i32
Source§fn from(value: AbortLevel) -> i32
fn from(value: AbortLevel) -> i32
Converts to this type from the input type.
Source§impl Hash for AbortLevel
impl Hash for AbortLevel
Source§impl Ord for AbortLevel
impl Ord for AbortLevel
Source§fn cmp(&self, other: &AbortLevel) -> Ordering
fn cmp(&self, other: &AbortLevel) -> 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 for AbortLevel
impl PartialEq for AbortLevel
Source§impl PartialOrd for AbortLevel
impl PartialOrd for AbortLevel
impl Copy for AbortLevel
impl Eq for AbortLevel
impl StructuralPartialEq for AbortLevel
Auto Trait Implementations§
impl Freeze for AbortLevel
impl RefUnwindSafe for AbortLevel
impl Send for AbortLevel
impl Sync for AbortLevel
impl Unpin for AbortLevel
impl UnsafeUnpin for AbortLevel
impl UnwindSafe for AbortLevel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more