usecrate::errors::{Error, ErrorKind}; use std::io; use std::path::Path;
/// A builder for creating directories in various manners. /// /// This is a wrapper around [`tokio::fs::DirBuilder`]. #[derive(Debug, Default)] #[cfg_attr(docsrs, doc(cfg(feature = "tokio")))] pubstruct DirBuilder {
inner: tokio::fs::DirBuilder,
}
impl DirBuilder { /// Creates a new set of options with default mode/security settings for all /// platforms and also non-recursive. /// /// This is a wrapper version of [`tokio::fs::DirBuilder::new`] /// /// # Examples /// /// ```no_run /// use fs_err::tokio::DirBuilder; /// /// let builder = DirBuilder::new(); /// ``` pubfn new() -> Self {
Default::default()
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.