Function graph_diff_to_bytes

Source
pub fn graph_diff_to_bytes<Id, T>(
    diff: &GraphDiff<Id, T>,
) -> Result<Vec<u8>, Box<dyn Error>>
where Id: Copy + Eq + Hash + Serialize, T: AddAssign + Default + Serialize,
Expand description

Serialize a GraphDiff to a byte vector.