Using the FromStr/Display traits to deserialize/serialize types simplifies the bee-message crate usage on FFI bindings, since we often have to serialize the Message types to JavaScript/Python/Go.. and deserialize the types back on the Rust side. (e.g. serialize a Message to JS and take a MessageId as string later).
Using the
FromStr
/Display
traits to deserialize/serialize types simplifies the bee-message crate usage on FFI bindings, since we often have to serialize the Message types to JavaScript/Python/Go.. and deserialize the types back on the Rust side. (e.g. serialize aMessage
to JS and take aMessageId
as string later).