[][src]Trait observer::OEvent

pub trait OEvent<T> {
    fn map(&self, in_: &Context, data: &T) -> Result<Value>;
fn oid(&self, data: &T) -> OID; fn with<F>(&self, ctx: &Context, cb: F) -> Result<T>
    where
        F: FnOnce() -> T
, { ... } }

Required methods

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

fn oid(&self, data: &T) -> OID

Loading content...

Provided methods

fn with<F>(&self, ctx: &Context, cb: F) -> Result<T> where
    F: FnOnce() -> T, 

Loading content...

Implementors

Loading content...