Browse Source

Mark operator `Event` type as `non_exhaustive`

tags/v0.2.0-candidate
Philipp Oppermann 2 years ago
parent
commit
1213d70efb
Failed to extract signature
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      apis/rust/operator/src/lib.rs

+ 1
- 0
apis/rust/operator/src/lib.rs View File

@@ -8,6 +8,7 @@ use types::{Metadata, Output, SendOutput};

pub mod raw;

#[non_exhaustive]
pub enum Event<'a> {
Input { id: &'a str, data: &'a [u8] },
Stop,


Loading…
Cancel
Save