Struct fp_evm::ExecutionInfo [−][src]
pub struct ExecutionInfo<T> { pub exit_reason: ExitReason, pub value: T, pub used_gas: U256, pub logs: Vec<Log>, }
Fields
exit_reason: ExitReason
value: T
used_gas: U256
logs: Vec<Log>
Trait Implementations
impl<T: Clone> Clone for ExecutionInfo<T>
[src]
impl<T: Clone> Clone for ExecutionInfo<T>
[src]fn clone(&self) -> ExecutionInfo<T>
[src]
fn clone(&self) -> ExecutionInfo<T>
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl<T: Debug> Debug for ExecutionInfo<T>
[src]
impl<T: Debug> Debug for ExecutionInfo<T>
[src]impl<T> Decode for ExecutionInfo<T> where
T: Decode,
T: Decode,
[src]
impl<T> Decode for ExecutionInfo<T> where
T: Decode,
T: Decode,
[src]fn decode<__CodecInputEdqy: Input>(
__codec_input_edqy: &mut __CodecInputEdqy
) -> Result<Self, Error>
[src]
fn decode<__CodecInputEdqy: Input>(
__codec_input_edqy: &mut __CodecInputEdqy
) -> Result<Self, Error>
[src]Attempt to deserialise the value from input.
fn skip<I>(input: &mut I) -> Result<(), Error> where
I: Input,
[src]
fn skip<I>(input: &mut I) -> Result<(), Error> where
I: Input,
[src]Attempt to skip the encoded value from input. Read more
fn encoded_fixed_size() -> Option<usize>
[src]
fn encoded_fixed_size() -> Option<usize>
[src]Returns the fixed encoded size of the type. Read more
impl<'de, T> Deserialize<'de> for ExecutionInfo<T> where
T: Deserialize<'de>,
[src]
impl<'de, T> Deserialize<'de> for ExecutionInfo<T> where
T: Deserialize<'de>,
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl<T> Encode for ExecutionInfo<T> where
T: Encode,
T: Encode,
[src]
impl<T> Encode for ExecutionInfo<T> where
T: Encode,
T: Encode,
[src]fn encode_to<__CodecOutputEdqy: Output + ?Sized>(
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy
)
[src]
fn encode_to<__CodecOutputEdqy: Output + ?Sized>(
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy
)
[src]Convert self to a slice and append it to the destination.
fn size_hint(&self) -> usize
[src]
fn size_hint(&self) -> usize
[src]If possible give a hint of expected size of the encoding. Read more
fn using_encoded<R, F>(&self, f: F) -> R where
F: FnOnce(&[u8]) -> R,
[src]
fn using_encoded<R, F>(&self, f: F) -> R where
F: FnOnce(&[u8]) -> R,
[src]Convert self to a slice and then invoke the given closure with it.
fn encoded_size(&self) -> usize
[src]
fn encoded_size(&self) -> usize
[src]Calculates the encoded size. Read more
impl<T: PartialEq> PartialEq<ExecutionInfo<T>> for ExecutionInfo<T>
[src]
impl<T: PartialEq> PartialEq<ExecutionInfo<T>> for ExecutionInfo<T>
[src]fn eq(&self, other: &ExecutionInfo<T>) -> bool
[src]
fn eq(&self, other: &ExecutionInfo<T>) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &ExecutionInfo<T>) -> bool
[src]
fn ne(&self, other: &ExecutionInfo<T>) -> bool
[src]This method tests for !=
.
impl<T> Serialize for ExecutionInfo<T> where
T: Serialize,
[src]
impl<T> Serialize for ExecutionInfo<T> where
T: Serialize,
[src]impl<T> EncodeLike<ExecutionInfo<T>> for ExecutionInfo<T> where
T: Encode,
T: Encode,
[src]
T: Encode,
T: Encode,
impl<T: Eq> Eq for ExecutionInfo<T>
[src]
impl<T> StructuralEq for ExecutionInfo<T>
[src]
impl<T> StructuralPartialEq for ExecutionInfo<T>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for ExecutionInfo<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for ExecutionInfo<T> where
T: Send,
T: Send,
impl<T> Sync for ExecutionInfo<T> where
T: Sync,
T: Sync,
impl<T> Unpin for ExecutionInfo<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for ExecutionInfo<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> DecodeLimit for T where
T: Decode,
[src]
impl<T> DecodeLimit for T where
T: Decode,
[src]impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T, Outer> IsWrappedBy<Outer> for T where
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>,
[src]
impl<T, Outer> IsWrappedBy<Outer> for T where
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>,
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
[src]
impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
[src]pub fn unchecked_into(self) -> T
[src]
pub fn unchecked_into(self) -> T
[src]The counterpart to unchecked_from
.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<S> Codec for S where
S: Decode + Encode,
[src]
S: Decode + Encode,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<'_, '_, T> EncodeLike<&'_ &'_ T> for T where
T: Encode,
[src]
T: Encode,
impl<'_, T> EncodeLike<&'_ T> for T where
T: Encode,
[src]
T: Encode,
impl<'_, T> EncodeLike<&'_ mut T> for T where
T: Encode,
[src]
T: Encode,
impl<T> EncodeLike<Arc<T>> for T where
T: Encode,
[src]
T: Encode,
impl<T> EncodeLike<Box<T, Global>> for T where
T: Encode,
[src]
T: Encode,
impl<'a, T> EncodeLike<Cow<'a, T>> for T where
T: ToOwned + Encode,
[src]
T: ToOwned + Encode,
impl<T> EncodeLike<Rc<T>> for T where
T: Encode,
[src]
T: Encode,
impl<S> FullCodec for S where
S: Decode + FullEncode,
[src]
S: Decode + FullEncode,
impl<S> FullEncode for S where
S: Encode + EncodeLike<S>,
[src]
S: Encode + EncodeLike<S>,
impl<T> MaybeDebug for T where
T: Debug,
T: Debug,
impl<T> MaybeRefUnwindSafe for T where
T: RefUnwindSafe,
T: RefUnwindSafe,