[−][src]Struct sc_tracing::ProfilingSubscriber
Responsible for assigning ids to new spans, which are not re-used.
Methods
impl ProfilingSubscriber
[src]
pub fn new(receiver: TracingReceiver, targets: &str) -> Self
[src]
Takes a Receiver
and a comma separated list of targets,
either with a level: "pallet=trace"
or without: "pallet".
Trait Implementations
impl Subscriber for ProfilingSubscriber
[src]
fn enabled(&self, metadata: &Metadata) -> bool
[src]
fn new_span(&self, attrs: &Attributes) -> Id
[src]
fn record(&self, _span: &Id, _values: &Record)
[src]
fn record_follows_from(&self, _span: &Id, _follows: &Id)
[src]
fn event(&self, _event: &Event)
[src]
fn enter(&self, span: &Id)
[src]
fn exit(&self, span: &Id)
[src]
fn try_close(&self, span: Id) -> bool
[src]
fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest
[src]
fn clone_span(&self, id: &Id) -> Id
[src]
fn drop_span(&self, _id: Id)
[src]
fn current_span(&self) -> Current
[src]
unsafe fn downcast_raw(&self, id: TypeId) -> Option<*const ()>
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ProfilingSubscriber
impl Send for ProfilingSubscriber
impl Sync for ProfilingSubscriber
impl Unpin for ProfilingSubscriber
impl UnwindSafe for ProfilingSubscriber
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,