Struct oasis_runtime_sdk::modules::core::TxSimulationFailure
source · pub struct TxSimulationFailure { /* private fields */ }
Expand description
Simulation failure error.
Implementations§
source§impl TxSimulationFailure
impl TxSimulationFailure
sourcepub fn is_error_core_out_of_gas(&self) -> bool
pub fn is_error_core_out_of_gas(&self) -> bool
Returns true if the failure is “core::Error::OutOfGas”.
Trait Implementations§
source§impl Debug for TxSimulationFailure
impl Debug for TxSimulationFailure
source§impl Display for TxSimulationFailure
impl Display for TxSimulationFailure
source§impl Error for TxSimulationFailure
impl Error for TxSimulationFailure
source§fn module_name(&self) -> &str
fn module_name(&self) -> &str
Name of the module that emitted the error.
source§fn into_call_result(self) -> CallResultwhere
Self: Sized,
fn into_call_result(self) -> CallResultwhere
Self: Sized,
Converts the error into a call result.
source§impl Error for TxSimulationFailure
impl Error for TxSimulationFailure
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<TxSimulationFailure> for Error
impl From<TxSimulationFailure> for Error
source§fn from(source: TxSimulationFailure) -> Self
fn from(source: TxSimulationFailure) -> Self
Converts to this type from the input type.
source§impl TryFrom<CallResult> for TxSimulationFailure
impl TryFrom<CallResult> for TxSimulationFailure
Auto Trait Implementations§
impl Freeze for TxSimulationFailure
impl RefUnwindSafe for TxSimulationFailure
impl Send for TxSimulationFailure
impl Sync for TxSimulationFailure
impl Unpin for TxSimulationFailure
impl UnwindSafe for TxSimulationFailure
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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