Struct tokio_nsq::NSQProducerConfig
source · [−]pub struct NSQProducerConfig { /* private fields */ }
Expand description
Configuration object for an NSQ consumer
Implementations
Construct a consumer with sane defaults.
NSQ Daemon connection options, such as compression and TLS.
Construct an NSQ producer with this configuration.
Auto Trait Implementations
impl !RefUnwindSafe for NSQProducerConfig
impl Send for NSQProducerConfig
impl Sync for NSQProducerConfig
impl Unpin for NSQProducerConfig
impl !UnwindSafe for NSQProducerConfig
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