Struct sc_telemetry::TelemetryWorkerHandle
source · pub struct TelemetryWorkerHandle { /* private fields */ }
Expand description
Handle to the TelemetryWorker
thats allows initializing the telemetry for a Substrate node.
Implementations§
source§impl TelemetryWorkerHandle
impl TelemetryWorkerHandle
sourcepub fn new_telemetry(&mut self, endpoints: TelemetryEndpoints) -> Telemetry
pub fn new_telemetry(&mut self, endpoints: TelemetryEndpoints) -> Telemetry
Instantiate a new Telemetry
object.
Trait Implementations§
source§impl Clone for TelemetryWorkerHandle
impl Clone for TelemetryWorkerHandle
source§fn clone(&self) -> TelemetryWorkerHandle
fn clone(&self) -> TelemetryWorkerHandle
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for TelemetryWorkerHandle
impl Send for TelemetryWorkerHandle
impl Sync for TelemetryWorkerHandle
impl Unpin for TelemetryWorkerHandle
impl !UnwindSafe for TelemetryWorkerHandle
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> SaturatedConversion for T
impl<T> SaturatedConversion for T
source§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere Self: UniqueSaturatedFrom<T>,
source§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere Self: UniqueSaturatedInto<T>,
Consume self to return an equivalent value of
T
. Read moresource§impl<T, S> UniqueSaturatedInto<T> for Swhere
T: Bounded,
S: TryInto<T>,
impl<T, S> UniqueSaturatedInto<T> for Swhere T: Bounded, S: TryInto<T>,
source§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of
T
.