[−][src]Struct yadf::Config
Search configuration
Implementations
impl<'a, P> Config<'a, P> where
P: AsRef<Path>,
[src]
P: AsRef<Path>,
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]
P: AsRef<Path>,
pub fn find_dupes<H>(self) -> TreeBag<u64, DirEntry> where
H: Hasher + Default,
H: Write,
[src]
H: Hasher + Default,
H: Write,
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]
P: AsRef<Path>,
impl<'a, P: Default> Default for Config<'a, P> where
P: AsRef<Path>,
[src]
P: AsRef<Path>,
Auto Trait Implementations
impl<'a, P> !RefUnwindSafe for Config<'a, P>
impl<'a, P> Send for Config<'a, P> where
P: Sync,
P: Sync,
impl<'a, P> Sync for Config<'a, P> where
P: Sync,
P: Sync,
impl<'a, P> Unpin for Config<'a, P>
impl<'a, P> UnwindSafe for Config<'a, P> where
P: RefUnwindSafe,
P: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,