Add Debug to PollEvents

This commit is contained in:
pjht 2024-09-23 11:13:29 -05:00
parent 82ff785932
commit 8656e63674
Signed by: pjht
GPG Key ID: 7B5F6AFBEC7EE78E

View File

@ -13,7 +13,7 @@ use parking_lot::RwLock;
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
bitflags! { bitflags! {
#[derive(Serialize, Deserialize, Clone, Copy)] #[derive(Serialize, Deserialize, Clone, Copy, Debug)]
pub struct PollEvents: u16 { pub struct PollEvents: u16 {
const POLLIN = 1<<0 | 1<<1; const POLLIN = 1<<0 | 1<<1;
const POLLRDNORM = 1<<0; const POLLRDNORM = 1<<0;