Struct moleculer::config::Config[][src]

pub struct Config {
    pub namespace: String,
    pub node_id: String,
    pub logger: Logger,
    pub log_level: Level,
    pub transporter: Transporter,
    pub request_timeout: i32,
    pub retry_policy: RetryPolicy,
    pub context_params_cloning: bool,
    pub dependency_internal: u32,
    pub max_call_level: u32,
    pub heartbeat_interval: u32,
    pub heartbeat_timeout: u32,
    pub tracking: Tracking,
    pub disable_balancer: bool,
    pub registry: Registry,
    pub circuit_breaker: CircuitBreaker,
    pub bulkhead: Bulkhead,
    pub transit: Transit,
    pub serializer: Serializer,
    pub meta_data: HashMap<String, String>,
    // some fields omitted
}

Fields

namespace: Stringnode_id: Stringlogger: Loggerlog_level: Leveltransporter: Transporterrequest_timeout: i32retry_policy: RetryPolicycontext_params_cloning: booldependency_internal: u32max_call_level: u32heartbeat_interval: u32heartbeat_timeout: u32tracking: Trackingdisable_balancer: boolregistry: Registrycircuit_breaker: CircuitBreakerbulkhead: Bulkheadtransit: Transitserializer: Serializermeta_data: HashMap<String, String>

Trait Implementations

impl Debug for Config[src]

impl Serialize for Config[src]

Auto Trait Implementations

impl RefUnwindSafe for Config

impl Send for Config

impl Sync for Config

impl Unpin for Config

impl UnwindSafe for Config

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