Trait pravega_client::sync::synchronizer::ValueSerialize

source ·
pub trait ValueSerialize {
    // Required method
    fn serialize_value(
        &self,
        seralizer: &mut CborSerializer<&mut Vec<u8>>
    ) -> Result<(), Error>;
}
Expand description

Serialize trait helper, we need to serialize the ValueData in Insert struct into Vec.

Required Methods§

source

fn serialize_value( &self, seralizer: &mut CborSerializer<&mut Vec<u8>> ) -> Result<(), Error>

Implementors§

source§

impl<T> ValueSerialize for T
where T: Serialize,