Module copra::service [] [src]

Internal types helping to provide services

Structs

EncapsulatedMethod

A bunble of a codec and a user-defined service

NewEncapsulatedMethod

A factory struct that can produce encapsulated service.

Enums

MethodError

[WIP] Error return by service providers

Traits

Service

An asynchronous function from Request to a Response.

Type Definitions

MethodFuture

A future that will resolve to a serialized message