Skip to content

Using RwLock in a Json #2131

Answered by davidpdrsn
Compro-Prasad asked this question in Q&A
Jul 30, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

You can use https://docs.rs/axum-extra/0.7.5/axum_extra/response/struct.ErasedJson.html

You can also always make your own type that implements IntoResponse

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Compro-Prasad
Comment options

@davidpdrsn
Comment options

Answer selected by Compro-Prasad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants