pub fn parse_workspace_contract(
bytes: &[u8],
) -> Result<WorkspaceContract, String>Expand description
Parse and validate contract bytes. Every validation failure names the specific rule it broke; parse failures carry the serde location.
pub fn parse_workspace_contract(
bytes: &[u8],
) -> Result<WorkspaceContract, String>Parse and validate contract bytes. Every validation failure names the specific rule it broke; parse failures carry the serde location.