has_event

Function has_event 

Source
pub fn has_event(f: &File) -> Result<bool>
Expand description

Check if the file has an event available to read.

For gpiochip files the events are LineInfoChangeEvent. For line request files the events are LineEdgeEvent.