Module boxed

Source
Expand description

Trait object forms of services and service factories.

Structs§

BoxServiceFactory
Wrapper for a service factory that will map it’s services to boxed trait object services.

Functions§

factory
Wraps a service factory that returns service trait objects.
rc_service
Wraps service as a trait object using RcService.
service
Wraps service as a trait object using BoxService.

Type Aliases§

BoxFuture
A boxed future with no send bound or lifetime parameters.
BoxService
Type alias for service trait object using Box.
RcService
Type alias for service trait object using Rc.