pub enum DirOpenOpt {
OnlyIfExists,
CreateIfMissing,
}Expand description
Options for when a DirCache is opened
Variants§
OnlyIfExists
Only open if a dir-cache directory already exists at the path, otherwise fail
CreateIfMissing
Create a dir-cache directory if none exists at the path
Trait Implementations§
Source§impl Clone for DirOpenOpt
impl Clone for DirOpenOpt
Source§fn clone(&self) -> DirOpenOpt
fn clone(&self) -> DirOpenOpt
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DirOpenOpt
impl Debug for DirOpenOpt
Source§impl Default for DirOpenOpt
impl Default for DirOpenOpt
Source§fn default() -> DirOpenOpt
fn default() -> DirOpenOpt
Returns the “default value” for a type. Read more
impl Copy for DirOpenOpt
Auto Trait Implementations§
impl Freeze for DirOpenOpt
impl RefUnwindSafe for DirOpenOpt
impl Send for DirOpenOpt
impl Sync for DirOpenOpt
impl Unpin for DirOpenOpt
impl UnwindSafe for DirOpenOpt
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