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 into LogLine structures. As FileServer is intended to be useful across multiple operating systems with POSIX filesystem semantics FileServer must poll for changes. That is, no event notification is used by FileServer.
  • A sentinel type to signal that file server was gracefully shut down.

Enums§

Constants§

Traits§

  • Every internal event in this crate has a corresponding method in this trait which should emit the event.

Functions§

Type Aliases§