Crate hot_reload

source ·

Structs§

  • Receiver object that simply wraps tokio::sync:::watch::Receiver
  • Sender object that simply wraps tokio::sync:::watch::Sender
  • Main object to run reloader service watching the target like config files. This should be spawned as async task like the following

Enums§

Traits§

  • Trait defining the responsibility of reloaders to periodically load the target value V from Source. Source could be a file, a KVS, whatever if you can implement Reload<V> with Reload<V>::Source.