pub struct ServiceProcessorBuilder { /* private fields */ }
Expand description

Builds new ServiceProcessors.

Implementations

Constructs a new builder.

Sets the connection for receiving service messages by the resulting ServiceProcessor.

This field is required to construct the final ServiceProcessor.

Sets the circuit associated with all of the services in this processor.

This field is required to construct the final ServiceProcessor.

Sets the incoming message capacity.

This limits the amount of messages that may be buffered by the service processor before blocking new messages.

Sets the outgoing message capacity.

This limits the amount of messages that may be buffered by the service processor when being sent to external connections.

Sets the internal channel capacity.

This limits the number of messages that may be buffered when passed between the internal threads.

Adds a service to be managed by the resulting ServiceProcessor.

This function may be called more than once to add additional services. It must be called at least once to construct a valid service processor.

Construct the ServiceProcessor.

Errors

Returns an InvalidStateError, if any required fields are missing.

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Convert self to an expression for Diesel’s query builder. Read more

Convert &self to an expression for Diesel’s query builder. Read more

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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