pub enum ScanPolicy {
DetectOnly,
RemoveNew,
AddNew,
}Expand description
Controls how scan_for_changes handles newly found files.
Variants§
Trait Implementations§
Source§impl Clone for ScanPolicy
impl Clone for ScanPolicy
Source§fn clone(&self) -> ScanPolicy
fn clone(&self) -> ScanPolicy
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 ScanPolicy
impl Debug for ScanPolicy
Source§impl Default for ScanPolicy
impl Default for ScanPolicy
Source§fn default() -> ScanPolicy
fn default() -> ScanPolicy
Returns the “default value” for a type. Read more
Source§impl PartialEq for ScanPolicy
impl PartialEq for ScanPolicy
impl StructuralPartialEq for ScanPolicy
Auto Trait Implementations§
impl Freeze for ScanPolicy
impl RefUnwindSafe for ScanPolicy
impl Send for ScanPolicy
impl Sync for ScanPolicy
impl Unpin for ScanPolicy
impl UnsafeUnpin for ScanPolicy
impl UnwindSafe for ScanPolicy
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