[][src]Trait observer::Event

pub trait Event<T, K> {
    fn map(&self, ctx: &Context, data: &Result<(T, K)>) -> Result<Value>;

    fn is_critical(&self) -> bool { ... }
}

Required methods

fn map(&self, ctx: &Context, data: &Result<(T, K)>) -> Result<Value>

Loading content...

Provided methods

fn is_critical(&self) -> bool

Loading content...

Implementors

impl<T, K> Event<T, K> for T where
    K: Serialize
[src]

Loading content...