Crate yang2[−][src]
Rust bindings for the libyang2 library.
For raw FFI bindings for libyang2, see libyang2-sys.
Design Goals
- Provide high-level bindings for libyang2 using idiomatic Rust
- Leverage Rust’s ownership system to detect API misuse problems at compile time
- Automatic resource management
- Zero-cost abstractions
Examples
See https://github.com/rwestphal/yang2-rs/tree/master/examples
Modules
| context | YANG context. |
| data | YANG instance data. |
| iter | YANG iterators. |
| schema | YANG schema data. |
Structs
| Error | Enum listing possible errors from yang2-rs. |