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§
- Channel
Common - Defines common abstractions on how [Uni]s receives produced events and delivers them to
Stream
s.
Implementors should also implement one of ChannelProducer or [UniZeroCopyChannel]. NOTE: all async functions are out of the hot path, so theasync_trait
won’t impose performance penalties - Channel
Consumer - Source of events for MutinyStream.
- Channel
Multi - Defines abstractions specific to [Uni] channels
- Channel
Producer - Defines how to send events (to a [Uni] or [Multi]).
- Channel
Uni - Defines abstractions specific to [Uni] channels
- Full
Duplex Multi Channel - A fully fledged
Multi
channel, that has both the producer and consumer parts Also, laverages generic programming by allowing simpler generic parameters: - Full
Duplex UniChannel - Defines a fully fledged
Uni
channel, that has both the producer and consumer parts Also, laverages generic programming by allowing simpler generic parameters: