Module hedwig::publish[][src]

This is supported on crate feature publish only.
Expand description

Types, traits, and functions necessary to publish messages using hedwig

Modules

sinksink

Provides a Sink interface for publishing to hedwig.

Structs

GooglePubSubPublishStreamgoogle

The GooglePubSubPublisher::publish stream

GooglePubSubPublishergoogle

A publisher that uses the Google Cloud Pub/Sub service as a message transport

Messages

A view over the messages in a MockPublisher, returned by messages

MockPublishStream

Stream of mock publisher results.

MockPublisher

A mock publisher that stores messages in-memory for later verification.

NullPublishStream

Stream for NullPublisher::publish.

NullPublisher

A blackhole publisher that doesn’t publish messages anywhere.

PubSubPublishErrorgoogle

An error message returned by the API

PublishBatch

A convenience builder for publishing in batches.

PublishBatchStream

The stream returned by the method PublishBatch::publish

Enums

GooglePubSubErrorgoogle

Error messages that occur when publishing to Google PubSub.

Traits

EncodableMessage

Types that can be encoded and published.

Publisher

Message publishers.