Skip to main content

to_cbor

Function to_cbor 

Source
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.