[][src]Trait xaynet::utils::trace::Traceable

pub trait Traceable {
    type Target: Sized;
    fn span(&self) -> &Span;
fn span_mut(&mut self) -> &mut Span;
fn into_inner(self) -> Self::Target; }

A type that can be associated to a span, making it traceable.

Associated Types

Loading content...

Required methods

fn span(&self) -> &Span

fn span_mut(&mut self) -> &mut Span

fn into_inner(self) -> Self::Target

Loading content...

Implementors

impl<T> Traceable for Traced<T>[src]

type Target = T

Loading content...