public class RustGenerator extends Object implements CodeGenerator
| Modifier and Type | Field and Description |
|---|---|
static String |
BUF_LIFETIME |
static String |
READ_BUF_TYPE |
static String |
WRITE_BUF_TYPE |
| Constructor and Description |
|---|
RustGenerator(Ir ir,
OutputManager outputManager)
Create a new Rust language
CodeGenerator. |
| Modifier and Type | Method and Description |
|---|---|
void |
generate()
Generate the complete set of types and messages for a schema.
|
public static final String WRITE_BUF_TYPE
public static final String READ_BUF_TYPE
public static final String BUF_LIFETIME
public RustGenerator(Ir ir, OutputManager outputManager)
CodeGenerator.ir - for the messages and types.outputManager - for generating the codecs to.public void generate()
throws IOException
CodeGeneratorgenerate in interface CodeGeneratorIOException - if an error is encountered when writing the output.Copyright © 2013-2021 Real Logic Limited. All Rights Reserved.