vidi::actors::watcher_udev

Function watch

Source
fn watch(
    poll: Poll,
    initialized: Arc<Notify>,
    f: impl FnMut(Event),
) -> Result<()>