Struct wasi_common::fs::DirBuilder
source · pub struct DirBuilder {}
Expand description
A builder used to create directories in various manners.
This corresponds to std::fs::DirBuilder
.
TODO: Not yet implemented.
Implementations§
source§impl DirBuilder
impl DirBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new set of options with default mode/security settings for all platforms and also non-recursive.
This corresponds to std::fs::DirBuilder::new
.
TODO: Not yet implemented.
sourcepub fn recursive(&mut self, recursive: bool) -> &mut Self
pub fn recursive(&mut self, recursive: bool) -> &mut Self
Indicates that directories should be created recursively, creating all parent directories.
This corresponds to std::fs::DirBuilder::recursive
.
TODO: Not yet implemented.
Auto Trait Implementations§
impl Freeze for DirBuilder
impl RefUnwindSafe for DirBuilder
impl Send for DirBuilder
impl Sync for DirBuilder
impl Unpin for DirBuilder
impl UnwindSafe for DirBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more