[][src]Struct rocketmq::producer::ProducerOptions

pub struct ProducerOptions { /* fields omitted */ }

RocketMQ producer options

Implementations

impl ProducerOptions[src]

pub fn new() -> Self[src]

pub fn with_client_options(client_options: ClientOptions) -> Self[src]

pub fn group_name(&self) -> &str[src]

pub fn set_send_msg_timeout(&mut self, timeout: Duration) -> &mut Self[src]

pub fn set_default_topic_queue_nums(&mut self, queue_nums: i32) -> &mut Self[src]

pub fn set_create_topic_key(&mut self, key: &str) -> &mut Self[src]

pub fn set_resolver(&mut self, resolver: Resolver) -> &mut Self[src]

pub fn set_name_server(&mut self, addrs: Vec<String>) -> &mut Self[src]

pub fn set_name_server_domain(&mut self, url: &str) -> &mut Self[src]

Trait Implementations

impl Clone for ProducerOptions[src]

impl Debug for ProducerOptions[src]

impl Default for ProducerOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]