[][src]Module ratsio::nats_client

Re-exports

pub use crate::ops::Message as NatsMessage;

Modules

client

Structs

NatsClient
NatsClientInner
NatsClientOptions
NatsClientOptionsBuilder

Builder for NatsClientOptions.

NatsSid
UriVec
UserJWT

An option that indicates client JWT authentication should be used. Takes a callback that will be used to sign the nonce the server supplies. For security reasons, ensure that you keep the seed in memory only as long as is necessary. Because of the tokio wrappings used by this client, the callback must be wrapped in an Arc of the signer callback function type.

Enums

NatsClientState

Type Definitions

SignerCallback

An alias representing the requirements for the nonce signing callback function