Skip to content

Commit 22846c3

Browse files
committed
feat(api): make Event non_exhaustive
1 parent 595e706 commit 22846c3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/reporter/event.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ use std::{fs::Metadata, path::Path};
44

55
/// Report trigger event.
66
#[derive(Debug)]
7+
#[non_exhaustive]
78
pub enum Event<'a, Size: size::Size> {
89
ReceiveData(Size),
910
EncounterError(ErrorReport<'a>),

0 commit comments

Comments
 (0)