mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-16 00:00:18 +02:00
Add #[non_exhaustive] to ProtoBufRejection (#1280)
This commit is contained in:
@@ -188,6 +188,7 @@ impl IntoResponse for ProtoBufDecodeError {
|
||||
/// Contains one variant for each way the [`ProtoBuf`] extractor
|
||||
/// can fail.
|
||||
#[derive(Debug)]
|
||||
#[non_exhaustive]
|
||||
pub enum ProtoBufRejection {
|
||||
#[allow(missing_docs)]
|
||||
ProtoBufDecodeError(ProtoBufDecodeError),
|
||||
|
||||
Reference in New Issue
Block a user