pub struct EventLookup<'a> { /* private fields */ }
Available on macOS only.
Expand description
Lookup a file system object event.
Implementations§
Source§impl<'a> EventLookup<'a>
impl<'a> EventLookup<'a>
Sourcepub fn source_dir(&self) -> File<'a>
pub fn source_dir(&self) -> File<'a>
The current directory.
Sourcepub fn relative_target(&self) -> &'a OsStr
pub fn relative_target(&self) -> &'a OsStr
The path to lookup relative to the current directory.
Trait Implementations§
Source§impl<'a> Debug for EventLookup<'a>
impl<'a> Debug for EventLookup<'a>
Source§impl<'a> Hash for EventLookup<'a>
impl<'a> Hash for EventLookup<'a>
Source§impl<'a> PartialEq for EventLookup<'a>
impl<'a> PartialEq for EventLookup<'a>
impl<'a> Eq for EventLookup<'a>
impl Send for EventLookup<'_>
impl Sync for EventLookup<'_>
Auto Trait Implementations§
impl<'a> Freeze for EventLookup<'a>
impl<'a> RefUnwindSafe for EventLookup<'a>
impl<'a> Unpin for EventLookup<'a>
impl<'a> UnwindSafe for EventLookup<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more