from_bytes

Function from_bytes 

Source
pub fn from_bytes(bytes: &[u8]) -> Result<Graph, SerdeError>
Expand description

Deserialize a graph from binary format.

Returns an error if the format is invalid or the data is corrupted.