[][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 SpanGroup for ByField[src]

type Id = String

The type of the timing span group.

impl EventGroup for ByField[src]

type Id = String

The type of the timing event group.

impl PartialEq<ByField> for ByField[src]

impl Eq for ByField[src]

impl Default for ByField[src]

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

impl Clone for ByField[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for ByField[src]

Auto Trait Implementations

impl Send for ByField

impl Unpin for ByField

impl Sync for ByField

impl UnwindSafe for ByField

impl RefUnwindSafe for ByField

Blanket Implementations

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

type Id = R

The type of the timing span group.

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

type Id = R

The type of the timing event group.

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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

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