Skip to main content

encode_value

Function encode_value 

Source
pub fn encode_value(record: &CoordinationRecord) -> Option<Bytes>
Expand description

Encodes a value of COORDINATION_STATE_TOPIC.

The result is None for CoordinationRecord::Tombstone, because a tombstone is a record with a null value.