pub enum FileSystemEvent {
Created(PathBuf),
Modified(PathBuf),
Deleted(PathBuf),
Renamed {
from: PathBuf,
to: PathBuf,
},
}Expand description
Events that can occur in the file system for media files
Variants§
Created(PathBuf)
A new file was created
Modified(PathBuf)
An existing file was modified
Deleted(PathBuf)
A file was deleted
Renamed
A file was renamed/moved
Trait Implementations§
Source§impl Clone for FileSystemEvent
impl Clone for FileSystemEvent
Source§fn clone(&self) -> FileSystemEvent
fn clone(&self) -> FileSystemEvent
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 FileSystemEvent
impl RefUnwindSafe for FileSystemEvent
impl Send for FileSystemEvent
impl Sync for FileSystemEvent
impl Unpin for FileSystemEvent
impl UnwindSafe for FileSystemEvent
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