Struct ratsio::stan_client::StanOptions
source · [−]pub struct StanOptions {
pub nats_options: NatsClientOptions,
pub cluster_id: String,
pub client_id: String,
pub ping_interval: u32,
pub ping_max_out: u32,
pub max_pub_acks_inflight: u32,
pub discover_prefix: String,
pub ack_prefix: String,
}
Fields
nats_options: NatsClientOptions
cluster_id: String
client_id: String
ping_interval: u32
ping_max_out: u32
max_pub_acks_inflight: u32
discover_prefix: String
ack_prefix: String
Implementations
pub fn with_options<T, S>(
nats_options: T,
cluster_id: S,
client_id: S
) -> StanOptions where
T: Into<NatsClientOptions>,
S: ToString,
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl !RefUnwindSafe for StanOptions
impl Send for StanOptions
impl Sync for StanOptions
impl Unpin for StanOptions
impl !UnwindSafe for StanOptions
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self