Trait radn::rcore::Diagnostic
source · pub trait Diagnostic<'a, T: Monad<'a>>: 'a + Send {
// Required methods
fn after<'b, A: 'a + Send>(
fa: T::F<A>,
event: impl 'b + FnOnce() -> String
) -> T::F<A>
where 'a: 'b;
fn before<'b, A: 'a + Send>(
fa: T::F<A>,
event: impl 'b + FnOnce() -> String
) -> T::F<A>
where 'a: 'b;
fn wrapped<'b, A: 'a + Send>(
fa: T::F<A>,
event: impl 'b + FnOnce() -> String
) -> T::F<A>
where 'a: 'b;
}Expand description
Basic support for tracing events across the execution.
Required Methods§
sourcefn after<'b, A: 'a + Send>(
fa: T::F<A>,
event: impl 'b + FnOnce() -> String
) -> T::F<A>where
'a: 'b,
fn after<'b, A: 'a + Send>( fa: T::F<A>, event: impl 'b + FnOnce() -> String ) -> T::F<A>where 'a: 'b,
Specify that the evaluation happens after a specific event.