Skip to main content

parse_binding

Function parse_binding 

Source
pub fn parse_binding(path: &Path) -> Result<BindingRegistry, ContractError>
Expand description

Parse a binding registry YAML file.

§Errors

Returns ContractError::Io if the file cannot be read, or ContractError::Yaml if the YAML is malformed.