pub enum NSQConsumerConfigSources {
Daemons(Vec<String>),
Lookup(NSQConsumerLookupConfig),
}
Expand description
The strategy a consumer should use to connect to NSQD instances
Variants
Daemons(Vec<String>)
An explicit list of NSQD daemons to use.
Lookup(NSQConsumerLookupConfig)
Configuration for NSQD Lookup daemons.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for NSQConsumerConfigSources
impl Send for NSQConsumerConfigSources
impl Sync for NSQConsumerConfigSources
impl Unpin for NSQConsumerConfigSources
impl UnwindSafe for NSQConsumerConfigSources
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more