Struct copra::dispatcher::ServiceRegistry [] [src]

pub struct ServiceRegistry { /* fields omitted */ }

Manage service registration and request dispatch

This struct is required to build a server. Service providers should add their services to this struct.

Methods

impl ServiceRegistry
[src]

[src]

Create a new empty registry.

[src]

Add a new service to the registry.

[src]

Get a method by service name and method name.

This method is used internally by generated stubs.

Trait Implementations

impl Debug for ServiceRegistry
[src]

[src]

Formats the value using the given formatter.