Skip to content

error-stack: Why does Report implement Serialize but not Deserialize? #2712

Discussion options

You must be logged in to vote

Hi @khassar00 and thanks for asking.
How would Deserialize be implemented? How you would get the type information? Even if you would pass a single type for the current context you would lose all other type information which are stored in the error stack.

Please share your thoughts if you know how this could be solved 🙂

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@khassar00
Comment options

Answer selected by TimDiekmann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/libs > error-stack Affects the `error-stack` crate (library) area/libs Relates to first-party libraries/crates/packages (area)
2 participants