Crate file_source
source ·Modules§
- Abstractions to allow configuring ways to provide the paths list for the file source to watch and read.
Structs§
- A thread-safe handle for reading and writing checkpoints in-memory across multiple threads.
FileServer
is a Source which cooperatively schedules reads over files, converting the lines of said files intoLogLine
structures. AsFileServer
is intended to be useful across multiple operating systems with POSIX filesystem semanticsFileServer
must poll for changes. That is, no event notification is used byFileServer
.- A sentinel type to signal that file server was gracefully shut down.
Enums§
- File position to use when reading a new file.
Constants§
Traits§
- Every internal event in this crate has a corresponding method in this trait which should emit the event.