value_to_bytes

Function value_to_bytes 

Source
pub fn value_to_bytes(value: &Value) -> Result<Option<Vec<u8>>, ProtocolError>