Struct fs_extra::dir::DirOptions[][src]

pub struct DirOptions {
    pub depth: u64,
}

Options and flags which can be used to configure how read a directory.

Fields

depth: u64

Sets levels reading. Set value 0 for read all directory folder. By default 0.

Implementations

impl DirOptions[src]

pub fn new() -> DirOptions[src]

Initialize struct DirOptions with default value.

Trait Implementations

impl Clone for DirOptions[src]

impl Default for DirOptions[src]

Auto Trait Implementations

impl RefUnwindSafe for DirOptions

impl Send for DirOptions

impl Sync for DirOptions

impl Unpin for DirOptions

impl UnwindSafe for DirOptions

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.