[][src]Trait cex::log::MapErrToLog

pub trait MapErrToLog<Agent>: Sized where
    Agent: LogAgent
{ type Output; fn map_err_to_log(self, item: Agent::Item) -> Self::Output; }

Wraps the Err variant with Log

Associated Types

type Output

Loading content...

Required methods

fn map_err_to_log(self, item: Agent::Item) -> Self::Output

Loading content...

Implementations on Foreign Types

impl<Agent, T, E> MapErrToLog<Agent> for Result<T, E> where
    E: ToLog<Agent>,
    Agent: LogAgent
[src]

type Output = Result<T, Log<E, Agent>>

Loading content...

Implementors

Loading content...