Module ratsio::nats_client
source · [−]Re-exports
pub use crate::ops::Message as NatsMessage;
Modules
Structs
Builder for NatsClientOptions
.
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
Type Definitions
An alias representing the requirements for the nonce signing callback function