Skip to main content

Crate agave_event_system

Crate agave_event_system 

Source
Expand description

An event system implemented on Linux.

On all other targets, the public API is available but all operations are no-ops.

EventSystem::stub() explicitly creates a no-op event system on any target.

Re-exports§

pub use crate::event_system::CreateEventSystemError;
pub use crate::event_system::CreateStreamError;
pub use crate::event_system::EventQueueError;
pub use crate::event_system::EventSystem;
pub use crate::event_system::StreamConfig;
pub use crate::publisher_factory::PublisherFactory;
pub use crate::queue_cell::ByteArray;
pub use wincode;
pub use wincode_dynamic;

Modules§

event_metadata
publisher
stream_name
stream_policy
subscriber

Macros§

stream_name
Creates a StreamName validated at compile time.

Structs§

CreateEventSystemError
EventQueueError
An error reported by the platform event-queue implementation.
EventSystem
Owns an event-system directory and creates typed event streams within it.
PublisherFactory
A handle to a typed Event stream that can create publishers on demand.
StreamConfig
Capacity and participant limits for an event stream.

Enums§

CreateStreamError

Traits§

ByteArray
This ByteArray trait is a workaround as generic-const-exprs is not yet stable.
Event
An event type that can be sent on an event stream.

Attribute Macros§

event
Implements agave_event_system::Event for a type.