[][src]Struct tracing_timing::group::ByField

pub struct ByField(pub Cow<'static, str>);

Group spans/events by the value of a particular field.

If a field by the contained name is found, its recorded value (usually its Debug value) is used as the grouping identifier. If the field is not found, an empty String is used.

Trait Implementations

impl Clone for ByField[src]

impl Debug for ByField[src]

impl Default for ByField[src]

impl Eq for ByField[src]

impl EventGroup for ByField[src]

type Id = String

The type of the timing event group.

impl<T> From<T> for ByField where
    T: Into<Cow<'static, str>>, 
[src]

impl PartialEq<ByField> for ByField[src]

impl SpanGroup for ByField[src]

type Id = String

The type of the timing span group.

impl StructuralEq for ByField[src]

impl StructuralPartialEq for ByField[src]

Auto Trait Implementations

impl RefUnwindSafe for ByField

impl Send for ByField

impl Sync for ByField

impl Unpin for ByField

impl UnwindSafe for ByField

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<F, R> EventGroup for F where
    F: Fn(&Event) -> R, 
[src]

type Id = R

The type of the timing event group.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<F, R> SpanGroup for F where
    F: Fn(&Attributes) -> R, 
[src]

type Id = R

The type of the timing span group.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.