MySQL enum to Rust enum

⚓ Rust    📅 2026-01-29    👤 surdeus    👁️ 9      

surdeus

Warning

This post was published 33 days ago. The information described in this article may have changed.

Info

This post is auto-generated from RSS feed The Rust Programming Language Forum - Latest topics. Source: MySQL enum to Rust enum

What's the idiomatic way to convert an SQL enum to a Rust enum?
Searches show the long way, a match on string name, and the use of a derive macro in "sqlx", an async crate. Is that macro available without "async"?

7 posts - 3 participants

Read full topic

🏷️ Rust_feed