Module file_watcher

Source

Structsยง

FileWatcher
The FileWatcher struct defines the polling based state machine which reads from a file path, transparently updating the underlying file descriptor when the file has been rolled over, as is common for logs.
RawLine
The RawLine struct is a thin wrapper around the bytes that have been read in order to retain the context of where in the file they have been read from.
RawLineResult