pub enum PluginFileEvent {
Added(PathBuf),
Changed(PathBuf),
Removed(PathBuf),
}Expand description
Raw filesystem events emitted by the PluginWatcher.
These are policy-neutral: the watcher does not decide whether a file change means load or reload. That decision belongs to the host application’s orchestrator layer.
Variants§
Trait Implementations§
Source§impl Clone for PluginFileEvent
impl Clone for PluginFileEvent
Source§fn clone(&self) -> PluginFileEvent
fn clone(&self) -> PluginFileEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PluginFileEvent
impl RefUnwindSafe for PluginFileEvent
impl Send for PluginFileEvent
impl Sync for PluginFileEvent
impl Unpin for PluginFileEvent
impl UnsafeUnpin for PluginFileEvent
impl UnwindSafe for PluginFileEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more