[][src]Trait cex::log::LogAgent

pub trait LogAgent {
    type Item;
    fn new() -> Self;
fn create_log(item: Self::Item) -> Self;
fn append_log(&mut self, item: Self::Item); }

Log agent.

Associated Types

type Item

Loading content...

Required methods

fn new() -> Self

fn create_log(item: Self::Item) -> Self

fn append_log(&mut self, item: Self::Item)

Loading content...

Implementations on Foreign Types

impl<T> LogAgent for Vec<T>
[src]

type Item = T

impl<T> LogAgent for PhantomData<T>
[src]

type Item = T

impl LogAgent for String
[src]

type Item = String

Loading content...

Implementors

impl<Agent> LogAgent for Env<Agent> where
    Agent: LogAgent
[src]

type Item = (LogLevel, <Agent as LogAgent>::Item)

Loading content...