Trait ToLog
cex::log
pub trait ToLog<Agent>: Sized where Agent: LogAgent, { fn new_log(self) -> Log<Self, Agent>; fn to_log(self, item: Agent::Item) -> Log<Self, Agent>; }
Wraps a type with Log.
fn new_log(self) -> Log<Self, Agent>
fn to_log(self, item: Agent::Item) -> Log<Self, Agent>
impl<Inner, Agent> ToLog<Agent> for Inner where Agent: LogAgent,
fn to_log(self, item: Agent::Item) -> Log<Inner, Agent>