Struct nuts_directory::OpenOptions
source · pub struct OpenOptions { /* private fields */ }Expand description
Options needed to open the backend.
You must pass the path, where the directory tree is stored, to
OpenOptions::for_path(), if creating a OpenOptions instance.
Implementations§
source§impl OpenOptions
impl OpenOptions
sourcepub fn for_path<P: AsRef<Path>>(path: P) -> OpenOptions
pub fn for_path<P: AsRef<Path>>(path: P) -> OpenOptions
Creates a new OpenOptions instance.
You must pass the path, where the directory tree should is stored, to
the function.
Trait Implementations§
source§impl HeaderGet<DirectoryBackend> for OpenOptions
impl HeaderGet<DirectoryBackend> for OpenOptions
source§impl Open<DirectoryBackend> for OpenOptions
impl Open<DirectoryBackend> for OpenOptions
Auto Trait Implementations§
impl RefUnwindSafe for OpenOptions
impl Send for OpenOptions
impl Sync for OpenOptions
impl Unpin for OpenOptions
impl UnwindSafe for OpenOptions
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