pub fn bytes_to_graph_diff<Id, T>(
bytes: &[u8],
) -> Result<GraphDiff<Id, T>, Box<dyn Error>>where
Id: Copy + Eq + Hash + for<'de> Deserialize<'de>,
for<'a> T: AddAssign + Default + Deserialize<'a> + Serialize,
Expand description
Deserialize a GraphDiff
from a byte slice.