[][src]Struct shell_rs::MkDirOptions

pub struct MkDirOptions {
    pub exist_ok: bool,
    pub expand_env: bool,
    pub mode: mode_t,
    pub recursive: bool,
}

Options for mkdir().

Fields

exist_ok: bool

No error if existing.

expand_env: bool

Expand environment path.

mode: mode_t

Set file mode, as in chmod(). e.g. 0755 for rwxr-xr-x

recursive: bool

Make parent directories as needed.

Methods

impl MkDirOptions[src]

Trait Implementations

impl Default for MkDirOptions[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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