[][src]Module ratsio::prelude

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.

Re-exports

pub use super::nats_client::NatsClientOptions;
pub use super::nats_client::NatsClient;
pub use super::nats_client::NatsClientState;
pub use super::error::RatsioError;
pub use super::ops::Connect;
pub use super::ops::Message;
pub use super::ops::Op;
pub use super::ops::Publish;
pub use super::ops::Subscribe;
pub use super::ops::UnSubscribe;
pub use super::stan_client::StanClient;
pub use super::stan_client::StanOptions;
pub use super::stan_client::StanMessage;
pub use super::stan_client::StanSubscribe;
pub use super::stan_client::StartPosition;
pub use super::stan_client::SubscriptionHandler;
pub use super::stan_client::AsyncHandler;
pub use super::stan_client::SyncHandler;