Enum fuel_tx::ScriptExecutionResult
source · [−]pub enum ScriptExecutionResult {
Success,
Revert,
Panic,
GenericFailure(u64),
}
Variants
Success
Revert
Panic
GenericFailure(u64)
Trait Implementations
sourceimpl Clone for ScriptExecutionResult
impl Clone for ScriptExecutionResult
sourcefn clone(&self) -> ScriptExecutionResult
fn clone(&self) -> ScriptExecutionResult
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ScriptExecutionResult
impl Debug for ScriptExecutionResult
sourceimpl From<ScriptExecutionResult> for Word
impl From<ScriptExecutionResult> for Word
sourcefn from(result: ScriptExecutionResult) -> Self
fn from(result: ScriptExecutionResult) -> Self
Converts to this type from the input type.
sourceimpl From<u64> for ScriptExecutionResult
impl From<u64> for ScriptExecutionResult
sourceimpl Hash for ScriptExecutionResult
impl Hash for ScriptExecutionResult
sourceimpl PartialEq<ScriptExecutionResult> for ScriptExecutionResult
impl PartialEq<ScriptExecutionResult> for ScriptExecutionResult
sourcefn eq(&self, other: &ScriptExecutionResult) -> bool
fn eq(&self, other: &ScriptExecutionResult) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ScriptExecutionResult) -> bool
fn ne(&self, other: &ScriptExecutionResult) -> bool
This method tests for !=
.
impl Copy for ScriptExecutionResult
impl Eq for ScriptExecutionResult
impl StructuralEq for ScriptExecutionResult
impl StructuralPartialEq for ScriptExecutionResult
Auto Trait Implementations
impl RefUnwindSafe for ScriptExecutionResult
impl Send for ScriptExecutionResult
impl Sync for ScriptExecutionResult
impl Unpin for ScriptExecutionResult
impl UnwindSafe for ScriptExecutionResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more