pub enum ScanType {
SingleNode,
Folder,
ReScan,
Nop,
}Variants§
SingleNode
Scan a single node
Folder
Scan the whole folder, including sub-folders.
ReScan
Something wrong happened, do re-indexing.
Should only happen with kFSEventStreamCreateFlagWatchRoot set in EventStream::new().
Nop
Do nothing, since event id is always updated.
Trait Implementations§
impl Copy for ScanType
impl Eq for ScanType
impl StructuralPartialEq for ScanType
Auto Trait Implementations§
impl Freeze for ScanType
impl RefUnwindSafe for ScanType
impl Send for ScanType
impl Sync for ScanType
impl Unpin for ScanType
impl UnwindSafe for ScanType
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