Trait std::os::unix::fs::DirBuilderExt [] [src]

pub trait DirBuilderExt {
    fn mode(&mut self, mode: mode_t) -> &mut Self;
}

An extension trait for fs::DirBuilder for unix-specific options.

Required Methods

fn mode(&mut self, mode: mode_t) -> &mut Self

Sets the mode to create new directories with. This option defaults to 0o777.

Implementors