Skip to main content

DirBuilderExt

Trait DirBuilderExt 

Source
pub trait DirBuilderExt {
    // Required method
    fn mode(&mut self, mode: u32) -> &mut Self;
}
Available on crate feature std and (Unix or crate feature docs) and crate feature default and crate feature docs only.
Expand description

Unix-specific extensions to DirBuilder.

Required Methods§

Source

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

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl DirBuilderExt for DirBuilder

Available on non-target_os=unknown only.