Enum fuel_tx::ScriptExecutionResult
source · pub enum ScriptExecutionResult {
Success,
Revert,
Panic,
GenericFailure(u64),
}
Variants§
Trait Implementations§
source§impl Clone for ScriptExecutionResult
impl Clone for ScriptExecutionResult
source§fn clone(&self) -> ScriptExecutionResult
fn clone(&self) -> ScriptExecutionResult
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 ScriptExecutionResult
impl Debug for ScriptExecutionResult
source§impl From<ScriptExecutionResult> for Word
impl From<ScriptExecutionResult> for Word
source§fn from(result: ScriptExecutionResult) -> Self
fn from(result: ScriptExecutionResult) -> Self
Converts to this type from the input type.
source§impl From<u64> for ScriptExecutionResult
impl From<u64> for ScriptExecutionResult
source§impl Hash for ScriptExecutionResult
impl Hash for ScriptExecutionResult
source§impl PartialEq<ScriptExecutionResult> for ScriptExecutionResult
impl PartialEq<ScriptExecutionResult> for ScriptExecutionResult
source§fn 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 ==
.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§
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more