Skip to content

how to create custom context #405

Answered by nmoutschen
infinite-Joy asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @Jacco !

Could you paste the entire error message?

Also, is there any specific reason why you are creating a separate handler function rather than just using the call function in your MyHandlerFn struct?

By the way, I've just added this example using a struct that implements the Handler trait for reference.

Replies: 10 comments

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
Comment options

You must be logged in to vote
0 replies
Answer selected by calavera
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
8 participants
Converted from issue

This discussion was converted from issue #110 on January 19, 2022 01:50.