Struct sp_rpc::tracing::BlockTrace
source · pub struct BlockTrace {
pub block_hash: String,
pub parent_hash: String,
pub tracing_targets: String,
pub storage_keys: String,
pub methods: String,
pub spans: Vec<Span>,
pub events: Vec<Event>,
}
Expand description
Container for all related spans and events for the block being traced.
Fields§
§block_hash: String
Hash of the block being traced
parent_hash: String
Parent hash
tracing_targets: String
Module targets that were recorded by the tracing subscriber. Empty string means record all targets.
storage_keys: String
Storage key targets used to filter out events that do not have one of the storage keys. Empty string means do not filter out any events.
methods: String
Method targets used to filter out events that do not have one of the event method. Empty string means do not filter out any events.
spans: Vec<Span>
Vec of tracing spans
events: Vec<Event>
Vec of tracing events
Trait Implementations§
source§impl Clone for BlockTrace
impl Clone for BlockTrace
source§fn clone(&self) -> BlockTrace
fn clone(&self) -> BlockTrace
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 BlockTrace
impl Debug for BlockTrace
source§impl<'de> Deserialize<'de> for BlockTrace
impl<'de> Deserialize<'de> for BlockTrace
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for BlockTrace
impl Send for BlockTrace
impl Sync for BlockTrace
impl Unpin for BlockTrace
impl UnwindSafe for BlockTrace
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T, Outer> IsWrappedBy<Outer> for Twhere
Outer: AsRef<T> + AsMut<T> + From<T>,
T: From<Outer>,
impl<T, Outer> IsWrappedBy<Outer> for Twhere Outer: AsRef<T> + AsMut<T> + From<T>, T: From<Outer>,
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere T: UncheckedFrom<S>,
source§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from
.