pub struct FlatBlockTraces(_);
Expand description
Represents all traces produced by transactions in a single block.
Implementations
Trait Implementations
sourceimpl Clone for FlatBlockTraces
impl Clone for FlatBlockTraces
sourcefn clone(&self) -> FlatBlockTraces
fn clone(&self) -> FlatBlockTraces
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 FlatBlockTraces
impl Debug for FlatBlockTraces
sourceimpl Decodable for FlatBlockTraces
impl Decodable for FlatBlockTraces
sourcefn decode(rlp: &Rlp<'_>) -> Result<Self, DecoderError>
fn decode(rlp: &Rlp<'_>) -> Result<Self, DecoderError>
Decode a value from RLP bytes
sourceimpl Default for FlatBlockTraces
impl Default for FlatBlockTraces
sourcefn default() -> FlatBlockTraces
fn default() -> FlatBlockTraces
Returns the “default value” for a type. Read more
sourceimpl Encodable for FlatBlockTraces
impl Encodable for FlatBlockTraces
sourceimpl From<Vec<FlatTransactionTraces, Global>> for FlatBlockTraces
impl From<Vec<FlatTransactionTraces, Global>> for FlatBlockTraces
sourcefn from(v: Vec<FlatTransactionTraces>) -> Self
fn from(v: Vec<FlatTransactionTraces>) -> Self
Performs the conversion.
sourceimpl Into<Vec<FlatTransactionTraces, Global>> for FlatBlockTraces
impl Into<Vec<FlatTransactionTraces, Global>> for FlatBlockTraces
sourceimpl Key<FlatBlockTraces> for H256
impl Key<FlatBlockTraces> for H256
sourceimpl MallocSizeOf for FlatBlockTraces
impl MallocSizeOf for FlatBlockTraces
sourcefn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
If T::size_of
is a constant, consider implementing constant_size
as well. Read more
sourcefn constant_size() -> Option<usize>
fn constant_size() -> Option<usize>
Used to optimize MallocSizeOf
implementation for collections
like Vec
and HashMap
to avoid iterating over them unnecessarily.
The Self: Sized
bound is for object safety. Read more
sourceimpl PartialEq<FlatBlockTraces> for FlatBlockTraces
impl PartialEq<FlatBlockTraces> for FlatBlockTraces
sourcefn eq(&self, other: &FlatBlockTraces) -> bool
fn eq(&self, other: &FlatBlockTraces) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FlatBlockTraces) -> bool
fn ne(&self, other: &FlatBlockTraces) -> bool
This method tests for !=
.
impl StructuralPartialEq for FlatBlockTraces
Auto Trait Implementations
impl RefUnwindSafe for FlatBlockTraces
impl Send for FlatBlockTraces
impl Sync for FlatBlockTraces
impl Unpin for FlatBlockTraces
impl UnwindSafe for FlatBlockTraces
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> MallocSizeOfExt for T where
T: MallocSizeOf,
impl<T> MallocSizeOfExt for T where
T: MallocSizeOf,
sourcefn malloc_size_of(&self) -> usize
fn malloc_size_of(&self) -> usize
Method to launch a heapsize measurement with a fresh state. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more