gstreamer: Mark MessageType enum as non-exhaustive

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

View file

@ -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,