Bincode v0.2.1 Bincode.Serializer protocol View Source
Protocol responsible for serializing Elixir terms into binary representation.
It is automatically implemented when you declare a struct with Bincode.declare_struct
but you can also manually implement it for any Elixir term.
Link to this section Summary
Functions
Serialize the given term
to a binary representation compatible with Rust's Bincode.
Returns {:ok, serialized_term}
or {:error, error_message}
.
Link to this section Types
Specs
t() :: term()
Link to this section Functions
Specs
Serialize the given term
to a binary representation compatible with Rust's Bincode.
Returns {:ok, serialized_term}
or {:error, error_message}
.