Macro ovsdb::include_schema

source ·
macro_rules! include_schema {
    ($schema: tt) => { ... };
}
Expand description

Include generated schema items.

Native structs can be generated for a given schema using ovsdb-build. This macro allows those structs to be used in normal rust code.

mod vswitch {
  ovsdb::include_schema!("vswitch")
}

The schema name must match the name used in the ovsdb-build process.