NumericTrace

Trait NumericTrace 

Source
pub trait NumericTrace {
    // Required method
    fn trace_as_num(msg: &str, value: &Self);
}
Expand description

Trait for numeric types that can be traced with trace_num

Required Methods§

Source

fn trace_as_num(msg: &str, value: &Self)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl NumericTrace for i8

Source§

fn trace_as_num(msg: &str, value: &i8)

Source§

impl NumericTrace for i16

Source§

fn trace_as_num(msg: &str, value: &i16)

Source§

impl NumericTrace for i32

Source§

fn trace_as_num(msg: &str, value: &i32)

Source§

impl NumericTrace for i64

Source§

fn trace_as_num(msg: &str, value: &i64)

Source§

impl NumericTrace for u8

Source§

fn trace_as_num(msg: &str, value: &u8)

Source§

impl NumericTrace for u16

Source§

fn trace_as_num(msg: &str, value: &u16)

Source§

impl NumericTrace for u32

Source§

fn trace_as_num(msg: &str, value: &u32)

Source§

impl NumericTrace for u64

Source§

fn trace_as_num(msg: &str, value: &u64)

Implementors§