diff --git a/gstreamer/src/enums.rs b/gstreamer/src/enums.rs index cb794257e..a5050019f 100644 --- a/gstreamer/src/enums.rs +++ b/gstreamer/src/enums.rs @@ -600,6 +600,7 @@ pub enum TagError { // enum instead #[derive(Debug, PartialEq, Eq, Hash, Clone, Copy)] #[doc(alias = "GstMessageType")] +#[non_exhaustive] pub enum MessageType { #[doc(alias = "GST_MESSAGE_UNKNOWN")] Unknown,