Rust

What the JetStream API reports: stream and consumer state, account usage, acknowledgements, stored messages and errors.

Contents

use utopia_nats::jetstream::info::AccountInfo;
Rust
pub struct AccountInfo

The account's JetStream usage and limits.

use utopia_nats::jetstream::info::ApiError;
Rust
pub struct ApiError

An error the JetStream API answered with.

use utopia_nats::jetstream::info::ConsumerInfo;
Rust
pub struct ConsumerInfo

A consumer's configuration and progress.

use utopia_nats::jetstream::info::MsgMetadata;
Rust
pub struct MsgMetadata

What a JetStream message's reply subject says about it.

use utopia_nats::jetstream::info::PubAck;
Rust
pub struct PubAck

The acknowledgement of a JetStream publish.

use utopia_nats::jetstream::info::SequenceInfo;
Rust
pub struct SequenceInfo

A consumer and stream position.

use utopia_nats::jetstream::info::StreamInfo;
Rust
pub struct StreamInfo

A stream's configuration, state and creation time.

use utopia_nats::jetstream::info::StreamMessage;
Rust
pub struct StreamMessage

A message read from a stream by sequence or subject.

use utopia_nats::jetstream::info::StreamState;
Rust
pub struct StreamState

A stream's message and consumer counts.