Here is an example of what it looks like (this is just a test, in reality you can only have one of these messages at the same time):
I don’t know if there is a simpler way to do it. Also, I added
msg: Option<FlashMessage> to almost all routes to be sure that if a message was present it would be rendered, but maybe it is not necessary and only make the code harder to read? And maybe
msg should go in
PlumeRocket as it is used almost everywhere?