Struct plumcast::ServiceBuilder[][src]

pub struct ServiceBuilder { /* fields omitted */ }

The builder of Service.

Methods

impl ServiceBuilder
[src]

Makes a new ServiceBuilder instance with the default settings.

Sets the logger used by the service.

The default value is Logger::root(Discard, o!()).

Sets the metrics settings of the service.

The default value is MetricBuilder::new().

Sets the value of the identifier of the first local node associated with the service.

Local node identifiers are increased incrementally start from the specified value.

The default value is rand::thread_rng().gen().

Builds a Service with the given settings.

Trait Implementations

impl Debug for ServiceBuilder
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations