pub struct OpenOptions<P: AsRef<Path>> { /* 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<P: AsRef<Path>> OpenOptions<P>
impl<P: AsRef<Path>> OpenOptions<P>
Sourcepub fn for_path(path: P) -> OpenOptions<P>
pub fn for_path(path: P) -> OpenOptions<P>
Creates a new OpenOptions
instance.
You must pass the path
, where the directory tree should is stored, to
the function.
Trait Implementations§
Source§impl<P: AsRef<Path>> Open<DirectoryBackend<P>> for OpenOptions<P>
impl<P: AsRef<Path>> Open<DirectoryBackend<P>> for OpenOptions<P>
Source§impl<P: AsRef<Path>> ReceiveHeader<DirectoryBackend<P>> for OpenOptions<P>
impl<P: AsRef<Path>> ReceiveHeader<DirectoryBackend<P>> for OpenOptions<P>
Auto Trait Implementations§
impl<P> Freeze for OpenOptions<P>where
P: Freeze,
impl<P> RefUnwindSafe for OpenOptions<P>where
P: RefUnwindSafe,
impl<P> Send for OpenOptions<P>where
P: Send,
impl<P> Sync for OpenOptions<P>where
P: Sync,
impl<P> Unpin for OpenOptions<P>where
P: Unpin,
impl<P> UnwindSafe for OpenOptions<P>where
P: UnwindSafe,
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