Struct moleculer::config::ConfigBuilder[][src]

pub struct ConfigBuilder { /* fields omitted */ }

Builder for Config.

Implementations

impl ConfigBuilder[src]

pub fn namespace<VALUE: Into<String>>(self, value: VALUE) -> Self[src]

pub fn node_id<VALUE: Into<String>>(self, value: VALUE) -> Self[src]

pub fn logger<VALUE: Into<Logger>>(self, value: VALUE) -> Self[src]

pub fn log_level<VALUE: Into<Level>>(self, value: VALUE) -> Self[src]

pub fn transporter<VALUE: Into<Transporter>>(self, value: VALUE) -> Self[src]

pub fn request_timeout<VALUE: Into<i32>>(self, value: VALUE) -> Self[src]

pub fn retry_policy<VALUE: Into<RetryPolicy>>(self, value: VALUE) -> Self[src]

pub fn context_params_cloning<VALUE: Into<bool>>(self, value: VALUE) -> Self[src]

pub fn dependency_internal<VALUE: Into<u32>>(self, value: VALUE) -> Self[src]

pub fn max_call_level<VALUE: Into<u32>>(self, value: VALUE) -> Self[src]

pub fn heartbeat_interval<VALUE: Into<u32>>(self, value: VALUE) -> Self[src]

pub fn heartbeat_timeout<VALUE: Into<u32>>(self, value: VALUE) -> Self[src]

pub fn tracking<VALUE: Into<Tracking>>(self, value: VALUE) -> Self[src]

pub fn disable_balancer<VALUE: Into<bool>>(self, value: VALUE) -> Self[src]

pub fn registry<VALUE: Into<Registry>>(self, value: VALUE) -> Self[src]

pub fn circuit_breaker<VALUE: Into<CircuitBreaker>>(self, value: VALUE) -> Self[src]

pub fn bulkhead<VALUE: Into<Bulkhead>>(self, value: VALUE) -> Self[src]

pub fn transit<VALUE: Into<Transit>>(self, value: VALUE) -> Self[src]

pub fn serializer<VALUE: Into<Serializer>>(self, value: VALUE) -> Self[src]

pub fn meta_data<VALUE: Into<HashMap<String, String>>>(
    self,
    value: VALUE
) -> Self
[src]

impl ConfigBuilder[src]

pub fn build(self) -> Config[src]

Trait Implementations

impl Default for ConfigBuilder[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, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

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>,