Trait eventually::serde::Serializer
source · pub trait Serializer<T>: Send + Sync {
// Required method
fn serialize(&self, value: T) -> Result<Vec<u8>>;
}
Expand description
A serializer interface that can be used to serialize a Rust data type into a specific wire format as a byte array.