destination_to_proto_node_variant

Function destination_to_proto_node_variant 

Source
pub fn destination_to_proto_node_variant(dest: Destination) -> Destination
Expand description

Helper function that performs the actual Destination -> proto conversion logic. This can be reused by other modules that need the same conversion.