pub enum ExternalChange {
Added {
id: ItemId,
path: PathBuf,
},
Removed {
id: ItemId,
path: PathBuf,
},
}Expand description
A file or folder change found by scan_for_changes.
Variants§
Trait Implementations§
Source§impl Clone for ExternalChange
impl Clone for ExternalChange
Source§fn clone(&self) -> ExternalChange
fn clone(&self) -> ExternalChange
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 moreSource§impl Debug for ExternalChange
impl Debug for ExternalChange
Source§impl PartialEq for ExternalChange
impl PartialEq for ExternalChange
impl StructuralPartialEq for ExternalChange
Auto Trait Implementations§
impl Freeze for ExternalChange
impl RefUnwindSafe for ExternalChange
impl Send for ExternalChange
impl Sync for ExternalChange
impl Unpin for ExternalChange
impl UnsafeUnpin for ExternalChange
impl UnwindSafe for ExternalChange
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