cap_primitives::fs

Trait DirBuilderExt

source
pub trait DirBuilderExt {
    // Required method
    fn mode(&mut self, mode: u32) -> &mut Self;
}
Expand description

Unix-specific extensions to [fs::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.

Object Safety§

This trait is not object safe.

Implementors§