Module service

Source
Expand description

Module containing service traits. These traits are vital for handling requests and creating services within the server.

Traits§

MakeServiceRef
A variant of the MakeService trait that accepts a &Target reference. This trait has been sealed, ensuring it cannot be implemented by types outside of this crate. It is specifically designed for the server’s serve function.
SendService
An alias trait for the Service trait, specialized with required bounds for the server’s service function. This trait has been sealed, ensuring it cannot be implemented by types outside of this crate.