Module types

Source
Expand description

Common types across this module

Enums§

Instruments
Honors the Zero-Cost Instrumentation Pattern for the [stream_executors]:
Designed to be used as a const generic parameter for Structs, causes the conditional instrumentation code in client structs to be selectively compiled – see the implemented const methods for documentation of each available instrument.

Traits§

ChannelCommon
Defines common abstractions on how [Uni]s receives produced events and delivers them to Streams.
Implementors should also implement one of ChannelProducer or [UniZeroCopyChannel]. NOTE: all async functions are out of the hot path, so the async_trait won’t impose performance penalties
ChannelConsumer
Source of events for MutinyStream.
ChannelMulti
Defines abstractions specific to [Uni] channels
ChannelProducer
Defines how to send events (to a [Uni] or [Multi]).
ChannelUni
Defines abstractions specific to [Uni] channels
FullDuplexMultiChannel
A fully fledged Multi channel, that has both the producer and consumer parts Also, laverages generic programming by allowing simpler generic parameters:
FullDuplexUniChannel
Defines a fully fledged Uni channel, that has both the producer and consumer parts Also, laverages generic programming by allowing simpler generic parameters: