Struct splinter::service::ServiceProcessorBuilder [−][src]
pub struct ServiceProcessorBuilder { /* fields omitted */ }
Expand description
Builds new ServiceProcessors.
Implementations
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
impl !RefUnwindSafe for ServiceProcessorBuilder
impl Send for ServiceProcessorBuilder
impl !Sync for ServiceProcessorBuilder
impl Unpin for ServiceProcessorBuilder
impl !UnwindSafe for ServiceProcessorBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Convert self
to an expression for Diesel’s query builder. Read more
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
Convert &self
to an expression for Diesel’s query builder. Read more
pub fn vzip(self) -> V
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