Skip to main content

encode_key

Function encode_key 

Source
pub fn encode_key(key: &CoordinationKey) -> Bytes
Expand description

Encodes a key of COORDINATION_STATE_TOPIC.

The function writes the empty member string for a lease key, whatever key.member holds, because the frozen layout gives a lease no member.