Struct splinter::service::ServiceProcessor[][src]

pub struct ServiceProcessor { /* fields omitted */ }
Expand description

The ServiceProcessor handles the networking for services. This includes talking to the splinter node, connecting for authorization, registering the services, and routing direct messages to the correct service.

Implementations

add_service takes a Service and sets up the thread that the service will run in. The service will be started, including registration and then messages are routed to the the services using a channel.

Once the service processor is started it will handle incoming messages from the splinter node and route it to a running service.

Returns a ShutdownHandle impelmentation so the service can be properly shutdown.

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

Performs the conversion.

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

Performs the conversion.

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.