Expand description
Hot-reload plugin support module
Provides hot-reload capabilities for plugins:
- File watching for plugin changes
- Dynamic plugin loading/unloading
- State preservation during reload
- Plugin versioning and rollback
- Graceful plugin replacement
Structs§
- Dynamic
Plugin - A dynamically loaded plugin wrapper
- HotReload
Config - Hot-reload configuration extension with watcher-specific settings
- HotReload
Manager - Hot-reload manager
- Plugin
Info - Plugin information stored in registry
- Plugin
Library - Represents a loaded plugin library
- Plugin
Loader - Plugin loader for managing dynamic plugin loading
- Plugin
Registry - Plugin registry for managing loaded plugins
- Plugin
Symbols - Required symbols for a plugin library
- Plugin
Version - Plugin version information
- Plugin
Watcher - Plugin file watcher
- Reload
Result - Reload result
- State
Manager - State manager for plugin hot-reload
- State
Snapshot - A snapshot of plugin state that can be preserved across reloads
- Watch
Config - Watch configuration
- Watch
Event - Watch event
Enums§
- HotReload
Plugin State - Plugin hot-reload state
- Plugin
Load Error - Plugin load error types
- Reload
Error - Reload error types
- Reload
Event - 热加载事件
- Reload
Strategy - 热加载策略
- Watch
Event Kind - Watch event kinds
Traits§
- HotReloadable
- 支持热加载的插件 trait