Skip to content

Use a trait to define CompositeService#155

Merged
richardwhiuk merged 4 commits intomasterfrom
trait-composite-service
Jun 27, 2022
Merged

Use a trait to define CompositeService#155
richardwhiuk merged 4 commits intomasterfrom
trait-composite-service

Conversation

@richardwhiuk
Copy link
Copy Markdown
Contributor

This allows users to define their own satisfying connection types.

This allows users to define their own satisfying connection types.

Signed-off-by: Richard Whitehouse <richard.whitehouse@metaswitch.com>
Signed-off-by: Richard Whitehouse <richard.whitehouse@metaswitch.com>
@richardwhiuk richardwhiuk force-pushed the trait-composite-service branch from ab0e05d to 9b8194d Compare June 25, 2022 20:08
@richardwhiuk
Copy link
Copy Markdown
Contributor Author

@bossmc Can you review this? I'm particularly interested if you agree that it's non-breaking.

@richardwhiuk richardwhiuk requested a review from bossmc June 25, 2022 20:09
@bossmc
Copy link
Copy Markdown
Contributor

bossmc commented Jun 27, 2022

I think I agree. Also, this HasSocketAddr looks generally usable in middleware to support multiple transport types generically there too.

Comment thread src/composites.rs Outdated
richardwhiuk and others added 2 commits June 27, 2022 18:07
Signed-off-by: Richard Whitehouse <richard.whitehouse@metaswitch.com>
@richardwhiuk richardwhiuk merged commit 9e9f5b4 into master Jun 27, 2022
@bors bors Bot deleted the trait-composite-service branch June 27, 2022 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants