Searched refs:AddWatchFlags (Results 1 – 2 of 2) sorted by relevance
/third_party/rust/crates/nix/test/sys/ |
D | test_inotify.rs | 2 use nix::sys::inotify::{AddWatchFlags, InitFlags, Inotify}; 12 .add_watch(tempdir.path(), AddWatchFlags::IN_ALL_EVENTS) in test_inotify() 30 .add_watch(tempdir.path(), AddWatchFlags::IN_ALL_EVENTS) in test_inotify_multi_events() 49 assert_eq!(events[0].mask, AddWatchFlags::IN_CREATE); in test_inotify_multi_events() 52 assert_eq!(events[1].mask, AddWatchFlags::IN_OPEN); in test_inotify_multi_events() 55 assert_eq!(events[2].mask, AddWatchFlags::IN_CLOSE_WRITE); in test_inotify_multi_events() 58 assert_eq!(events[3].mask, AddWatchFlags::IN_MOVED_FROM); in test_inotify_multi_events() 61 assert_eq!(events[4].mask, AddWatchFlags::IN_MOVED_TO); in test_inotify_multi_events()
|
/third_party/rust/crates/nix/src/sys/ |
D | inotify.rs | 40 pub struct AddWatchFlags: u32 { 128 pub mask: AddWatchFlags, 157 mask: AddWatchFlags, in add_watch() argument 226 mask: AddWatchFlags::from_bits_truncate(event.mask), in read_events()
|