Trait bigerror::ResultAttachExt
source · pub trait ResultAttachExt: ResultExt {
// Required methods
fn attach_kv<K, V>(
self,
key: K,
value: V
) -> Result<Self::Ok, Report<Self::Context>>
where K: Display,
V: Display;
fn attach_kv_debug<K, V>(
self,
key: K,
value: V
) -> Result<Self::Ok, Report<Self::Context>>
where K: Debug,
V: Debug;
fn attach_field_status<S>(
self,
name: &'static str,
status: S
) -> Result<Self::Ok, Report<Self::Context>>
where S: Display;
fn attach_debug<A>(
self,
value: A
) -> Result<Self::Ok, Report<Self::Context>>
where A: Debug;
}Required Methods§
fn attach_kv<K, V>( self, key: K, value: V ) -> Result<Self::Ok, Report<Self::Context>>
fn attach_kv_debug<K, V>( self, key: K, value: V ) -> Result<Self::Ok, Report<Self::Context>>
fn attach_field_status<S>(
self,
name: &'static str,
status: S
) -> Result<Self::Ok, Report<Self::Context>>where
S: Display,
fn attach_debug<A>(self, value: A) -> Result<Self::Ok, Report<Self::Context>>where
A: Debug,
Object Safety§
This trait is not object safe.