Skip to content

Actix Service 0.2.0

Compare
Choose a tag to compare
@fafhrd91 fafhrd91 released this 02 Feb 03:54
· 1111 commits to master since this release

Changes

Changed

  • Use associated type instead of generic for Service definition.

    • Before:

      impl Service<Request> for Client {
          type Response = Response;
          // ...
      }
    • After:

      impl Service for Client {
          type Request = Request;
          type Response = Response;
          // ...
      }