Crate shrev [] [src]

Event channel, pull based, that use a ringbuffer for internal storage, to make it possible to do immutable reads.

See examples directory for examples.

Structs

EventChannel

Event channel

EventIterator

Iterator over a slice of data in RingBufferStorage.

ReaderId

The reader id is used by readers to tell the storage where the last read ended.

Enums

EventError

Ringbuffer errors

EventReadData

Wrapper for read data. Needed because of overflow situations.

Traits

Event

Marker trait for data to use with the EventChannel.