pub const FAN_NONBLOCK: u32 = 0x0000_0002;
Expand description

Enable the nonblocking flag (O_NONBLOCK) for the file descriptor.

Reading from the file descriptor will not block.
Instead, if no data is available, read(2) fails with the error EAGAIN