1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
//! A "prelude" for users of the `ratsio` crate. //! //! This prelude is similar to the standard library's prelude in that you'll //! almost always want to import its entire contents, but unlike the standard //! library's prelude you'll have to do so manually: //! //! ``` //! use ratsio::prelude::*; //! ``` //! //! The prelude may grow over time as additional items see ubiquitous use. pub use super::{ nats_client::{ NatsClientOptions, NatsClient, NatsClientState, }, error::RatsioError, ops::{ Connect, Message, Op, Publish, Subscribe, UnSubscribe, }, stan_client::{ StanClient, StanOptions, StanMessage, StanSubscribe, StartPosition, SubscriptionHandler, AsyncHandler, SyncHandler, }, };