Trait bigerror::AttachExt

source ·
pub trait AttachExt {
    // Required methods
    fn attach_kv<K, V>(self, key: K, value: V) -> Self
       where K: Display,
             V: Display;
    fn attach_kv_debug<K, V>(self, key: K, value: V) -> Self
       where K: Debug,
             V: Debug;
    fn attach_field_status<S>(self, name: &'static str, status: S) -> Self
       where S: Display;
    fn attach_debug<A>(self, value: A) -> Self
       where A: Debug;
}

Required Methods§

source

fn attach_kv<K, V>(self, key: K, value: V) -> Self
where K: Display, V: Display,

source

fn attach_kv_debug<K, V>(self, key: K, value: V) -> Self
where K: Debug, V: Debug,

source

fn attach_field_status<S>(self, name: &'static str, status: S) -> Self
where S: Display,

source

fn attach_debug<A>(self, value: A) -> Self
where A: Debug,

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T, C> AttachExt for Result<T, Report<C>>

source§

fn attach_kv<K, V>(self, key: K, value: V) -> Self
where K: Display, V: Display,

source§

fn attach_kv_debug<K, V>(self, key: K, value: V) -> Self
where K: Debug, V: Debug,

source§

fn attach_field_status<S>(self, name: &'static str, status: S) -> Self
where S: Display,

source§

fn attach_debug<A>(self, value: A) -> Self
where A: Debug,

Implementors§

source§

impl<C> AttachExt for Report<C>