Skip to content

How to handle Generic Data #256

Answered by geofmureithi
AzHicham asked this question in Q&A
Discussion options

You must be logged in to vote

Tower offers a method to check if the service is actually clone.
https://docs.rs/tower/latest/tower/struct.ServiceBuilder.html#method.check_service_clone

From first look, I am curious if it's because you are missing T: ?Sized which is required by Arc to be clone.

Try these two and get back if they don't help.

Replies: 10 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by AzHicham
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants
Converted from issue

This discussion was converted from issue #255 on March 06, 2024 12:05.