RetLog

Trait RetLog 

Source
pub trait RetLog<Type, Agent, Index>
where Agent: LogAgent,
{ // Required method fn ret_log(self, item: impl Fn() -> Agent::Item) -> Type; }

Required Methods§

Source

fn ret_log(self, item: impl Fn() -> Agent::Item) -> Type

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<T, E, F, A, I> RetLog<Result<T, F>, A, _MapErrLog<I>> for Result<T, E>
where A: LogAgent, E: Logger<A> + ExchangeInto<F, I>,

Source§

fn ret_log(self, item: impl Fn() -> A::Item) -> Result<T, F>

Source§

impl<T, E, F, A, I> RetLog<Result<T, F>, A, _MapErrToLog<I>> for Result<T, E>
where A: LogAgent, E: ToLog<A>, Log<E, A>: ExchangeInto<F, I>,

Source§

fn ret_log(self, item: impl Fn() -> A::Item) -> Result<T, F>

Implementors§

Source§

impl<T, E, A> RetLog<Result<T, E>, A, _WrapOk> for T
where A: LogAgent,