Module reactive_mutiny::types

source ·
Expand description

Common types across this module

Enums

  • 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

  • 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
  • Source of events for MutinyStream.
  • Defines abstractions specific to [Uni] channels
  • Defines how to send events (to a [Uni] or [Multi]).
  • Defines abstractions specific to [Uni] channels
  • A fully fledged Multi channel, that has both the producer and consumer parts
  • Defines a fully fledged Uni channel, that has both the producer and consumer parts