Skip to main content

compile

Function compile 

Source
pub fn compile(
    request: &CompileRequest,
) -> Result<CompiledBinding, CompileError>
Expand description

Compiles one contract schema to one target binding.

ยงErrors

Returns CompileError::InvalidSchema for malformed input and CompileError::Unrepresentable (with alternatives) for constructs outside the constrained authorable subset.