gstreamer: Mark MessageType enum as non-exhaustive

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1202>
This commit is contained in:
Sebastian Dröge 2023-01-24 12:57:05 +02:00
parent 99021c6c07
commit 4f6f7028b9

View file

@ -427,6 +427,7 @@ pub enum TagError {
// enum instead // enum instead
#[derive(Debug, PartialEq, Eq, Hash, Clone, Copy)] #[derive(Debug, PartialEq, Eq, Hash, Clone, Copy)]
#[doc(alias = "GstMessageType")] #[doc(alias = "GstMessageType")]
#[non_exhaustive]
pub enum MessageType { pub enum MessageType {
#[doc(alias = "GST_MESSAGE_UNKNOWN")] #[doc(alias = "GST_MESSAGE_UNKNOWN")]
Unknown, Unknown,