qemu/rust/qemu-api-macros/src
Paolo Bonzini bc2a48d647 rust: make TryFrom macro more resilient
If the enum includes values such as "Ok", "Err", or "Error", the TryInto
macro can cause errors.  Be careful and qualify identifiers with the full
path, or in the case of TryFrom<>::Error do not use the associated type
at all.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-06-06 14:32:54 +02:00
..
bits.rs rust: add "bits", a custom bitflags implementation 2025-06-03 22:44:40 +02:00
lib.rs rust: make TryFrom macro more resilient 2025-06-06 14:32:54 +02:00
utils.rs rust: qemu-api-macros: extend error reporting facility to parse errors 2025-01-10 23:34:43 +01:00