Crate rust_transit

Source
Expand description

§rust_transit library

Abstract the underlying messaging technology under one generic interface

Modules§

harness
Test harness

Macros§

event_tests
Macro generating the tests from the given expression yielding an EventManager

Structs§

ConsumerID
A consumer ID to identify a consumer within a manager
EventInfo
General info on all events
GenericEvent
Generic event holds the event info + specific event structure

Enums§

EventError
The different errors that can occur

Traits§

Consumer
Consumer trait defining what to do with the event
ConsumerGroup
Consumer Group trait, giving the group to use
EventManager
The Event Manager is the main trait, offering functions to send and consume events
EventType
The type of event

Type Aliases§

EventResult
Type alias for a Result that can return an EventError