Trait OEvent
observer
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, { ... } }
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,