Lines Matching defs:Inotify
3 //! Inotify is a Linux-only API to monitor filesystems events.
11 //! # use nix::sys::inotify::{AddWatchFlags,InitFlags,Inotify};
14 //! let instance = Inotify::init(InitFlags::empty()).unwrap();
105 pub struct Inotify {
137 impl Inotify {
143 pub fn init(flags: InitFlags) -> Result<Inotify> {
146 res.map(|fd| Inotify { fd })
238 impl AsRawFd for Inotify {
244 impl FromRawFd for Inotify {
246 Inotify { fd }