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
fromSource
. Source could be a file, a KVS, whatever if you can implementReload<V>
withReload<V>::Source
.