[][src]Trait eventio::Event

pub trait Event {
    type Ack;
    fn raw(&self) -> &[u8];
fn time(&self) -> u64;
fn ack(&self) -> Self::Ack; }

A trait for a single event from any type of data source.

Associated Types

type Ack

Loading content...

Required methods

fn raw(&self) -> &[u8]

fn time(&self) -> u64

fn ack(&self) -> Self::Ack

Loading content...

Implementors

impl Event for Event[src]

type Ack = EntryLocation

impl Event for BareEvent[src]

type Ack = u64

Loading content...