Trait tracing_tunnel::FromTracedValue

source ·
pub trait FromTracedValue<'a> {
    type Output: Borrow<Self> + 'a;

    // Required method
    fn from_value(value: &'a TracedValue) -> Option<Self::Output>;
}
Expand description

Fallible conversion from a TracedValue reference.

Required Associated Types§

source

type Output: Borrow<Self> + 'a

Output of the conversion.

Required Methods§

source

fn from_value(value: &'a TracedValue) -> Option<Self::Output>

Performs the conversion.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl FromTracedValue<'_> for bool

source§

impl FromTracedValue<'_> for f64

source§

impl FromTracedValue<'_> for i64

source§

impl FromTracedValue<'_> for i128

source§

impl FromTracedValue<'_> for u64

source§

impl FromTracedValue<'_> for u128

source§

impl<'a> FromTracedValue<'a> for str

§

type Output = &'a str

source§

fn from_value(value: &'a TracedValue) -> Option<Self::Output>

Implementors§