Skip to content

Commit

Permalink
add process broadcaster event bits definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
roccoblues committed Apr 17, 2024
1 parent 17fc55c commit 605e95d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -679,6 +679,19 @@ impl<'e> SBProcessEvent<'e> {
idx: 0,
}
}

#[allow(missing_docs)]
pub const BROADCAST_BIT_STATE_CHANGED: u32 = (1 << 0);
#[allow(missing_docs)]
pub const BROADCAST_BIT_INTERRUPT: u32 = (1 << 1);
#[allow(missing_docs)]
pub const BROADCAST_BIT_STDOUT: u32 = (1 << 2);
#[allow(missing_docs)]
pub const BROADCAST_BIT_STDERR: u32 = (1 << 3);
#[allow(missing_docs)]
pub const BROADCAST_BIT_PROFILE_DATA: u32 = (1 << 4);
#[allow(missing_docs)]
pub const BROADCAST_BIT_STRUCTURED_DATA: u32 = (1 << 5);
}

/// Iterate over the restart reasons in a [process event].
Expand Down

0 comments on commit 605e95d

Please sign in to comment.