[][src]Trait cex::log::MapToLog

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

Wraps the Ok variant with Log

Associated Types

type Output

Loading content...

Required methods

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

Loading content...

Implementations on Foreign Types

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

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

Loading content...

Implementors

Loading content...