Struct rsfs::mem::DirBuilder [] [src]

pub struct DirBuilder { /* fields omitted */ }

A builder used to create directories in various manners.

This builder implements rsfs::DirBuilder and supports unix extensions.

Examples

let fs = FS::new();
let db = fs.new_dirbuilder();
db.create("dir")?;

Trait Implementations

impl Clone for DirBuilder
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for DirBuilder
[src]

Formats the value using the given formatter.

impl DirBuilder for DirBuilder
[src]

Indicates that directories should be opened recursively, creating directories if they do not exist. Read more

Creates the directory specified by path. Read more

impl DirBuilderExt for DirBuilder
[src]

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