Function xdrgen::generate
[−]
[src]
pub fn generate<In, Out>(infile: &str, input: In, output: Out) -> Result<()> where
In: Read,
Out: Write,
Generate Rust code from an RFC4506 XDR specification
infile
is simply a string used in error messages; it may be empty. input
is a read stream of
the specification, and output
is where the generated code is sent.