[][src]Trait log::kv::value::ToValue

pub trait ToValue {
    fn to_value(&self) -> Value<'_>;
}

A type that can be converted into a Value.

Required methods

fn to_value(&self) -> Value<'_>[src]

Perform the conversion.

Loading content...

Implementations on Foreign Types

impl<'a, T: ?Sized> ToValue for &'a T where
    T: ToValue
[src]

impl ToValue for dyn Debug[src]

impl ToValue for dyn Display[src]

impl ToValue for dyn Error + 'static[src]

impl ToValue for dyn Value[src]

impl ToValue for str[src]

impl ToValue for ()[src]

impl<T> ToValue for Option<T> where
    T: ToValue
[src]

impl ToValue for usize[src]

impl ToValue for u8[src]

impl ToValue for u16[src]

impl ToValue for u32[src]

impl ToValue for u64[src]

impl ToValue for u128[src]

impl ToValue for isize[src]

impl ToValue for i8[src]

impl ToValue for i16[src]

impl ToValue for i32[src]

impl ToValue for i64[src]

impl ToValue for i128[src]

impl ToValue for f32[src]

impl ToValue for f64[src]

impl ToValue for char[src]

impl ToValue for bool[src]

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

impl ToValue for String[src]

impl<'v> ToValue for Cow<'v, str>[src]

Loading content...

Implementors

impl<'v> ToValue for log::kv::Value<'v>[src]

Loading content...