[][src]Struct yadf::Config

pub struct Config<'a, P> where
    P: AsRef<Path>, 
{ /* fields omitted */ }

Search configuration

Implementations

impl<'a, P> Config<'a, P> where
    P: AsRef<Path>, 
[src]

pub fn builder() -> ConfigBuilder<'a, ((), (), (), (), ()), P>[src]

Create a builder for building Config. On the builder, call .paths(...), .min(...)(optional), .max(...)(optional), .regex(...)(optional), .glob(...)(optional) to set the values of the fields (they accept Into values). Finally, call .build() to create the instance of Config.

impl<P, '_> Config<'_, P> where
    P: AsRef<Path>, 
[src]

pub fn find_dupes<H>(self) -> TreeBag<u64, DirEntry> where
    H: Hasher + Default,
    H: Write
[src]

This will attemps a complete scan of every file, within the given size constraints, at the given path.

Trait Implementations

impl<'a, P: Debug> Debug for Config<'a, P> where
    P: AsRef<Path>, 
[src]

impl<'a, P: Default> Default for Config<'a, P> where
    P: AsRef<Path>, 
[src]

Auto Trait Implementations

impl<'a, P> !RefUnwindSafe for Config<'a, P>

impl<'a, P> Send for Config<'a, P> where
    P: Sync

impl<'a, P> Sync for Config<'a, P> where
    P: Sync

impl<'a, P> Unpin for Config<'a, P>

impl<'a, P> UnwindSafe for Config<'a, P> where
    P: RefUnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,