Class RustGenerator

java.lang.Object
uk.co.real_logic.sbe.generation.rust.RustGenerator
All Implemented Interfaces:
CodeGenerator

public class RustGenerator extends Object implements CodeGenerator
Generate codecs for the Rust programming language.
  • Constructor Details

    • RustGenerator

      public RustGenerator(Ir ir, String crateVersion, OutputManager outputManager)
      Create a new Rust language CodeGenerator.
      Parameters:
      ir - for the messages and types.
      crateVersion - for the generated crate.
      outputManager - for generating the codecs to.
  • Method Details

    • generate

      public void generate() throws IOException
      Description copied from interface: CodeGenerator
      Generate the complete set of types and messages for a schema.
      Specified by:
      generate in interface CodeGenerator
      Throws:
      IOException - if an error is encountered when writing the output.