pub fn to_cbor(graph: &GeometryGraph) -> Result<Vec<u8>, WireError>Expand description
Write graph as a CBOR payload.
ยงErrors
WireError::NonFinite if the graph holds a NaN or an infinity.
pub fn to_cbor(graph: &GeometryGraph) -> Result<Vec<u8>, WireError>Write graph as a CBOR payload.
WireError::NonFinite if the graph holds a NaN or an infinity.