pub trait SerializeGraphOp<W> { // Required method fn serialize(&self, write: W) -> Result<(), Error>; }