## Crate google_cloud_pubsub

Source
Expand description

Google Cloud Client Libraries for Rust - Pub/Sub

WARNING: this crate is under active development. We expect multiple breaking changes in the upcoming releases. Testing is also incomplete, we do not recommend that you use this crate in production. We welcome feedback about the APIs, documentation, missing features, bugs, etc.

This crate contains traits, types, and functions to interact with Pub/Sub. Most applications will use the structs defined in the client module.

For administrative operations:

- TopicAdmin
- SubscriptionAdmin
- SchemaService

For publishing messages:

- Client and Publisher

For receiving messages:

- Subscriber

Receiving messages is not yet supported by this crate.

NOTE: This crate used to contain a different implementation, with a different surface. @yoshidan generously donated the crate name to Google. Their crate continues to live as gcloud-pubsub.

## Modules§

builder
  Request and client builders.
client
  Clients to interact with Google Cloud Pub/Sub.
model
  The messages and enums that are part of this client library.
model_ext
  Extends model with types that improve type safety and/or ergonomics.
stub
  Traits to mock the clients in this library.
subscriber
  Types related to receiving messages with a Subscriber client.

## Structs§

Error
  The core error returned by all client libraries.

## Type Aliases§

Result
  An alias of std::result::Result where the error is always Error.