mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-22 17:41:05 +00:00
gstreamer: Mark MessageType
enum as non-exhaustive
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1202>
This commit is contained in:
parent
99021c6c07
commit
4f6f7028b9
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue