Skip to content

Commit

Permalink
Mark SessionChangeReason non_exhaustive
Browse files Browse the repository at this point in the history
  • Loading branch information
faern committed Apr 12, 2024
1 parent 687499e commit 8de7ab5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -947,6 +947,7 @@ impl PowerEventParam {

/// Enum describing the reason of a SessionChange event
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
#[non_exhaustive]
#[repr(u32)]
pub enum SessionChangeReason {
ConsoleConnect = WindowsAndMessaging::WTS_CONSOLE_CONNECT,
Expand Down

0 comments on commit 8de7ab5

Please sign in to comment.