Struct iroh_blobs::store::fs::PathOptions
source · pub struct PathOptions {
pub data_path: PathBuf,
pub temp_path: PathBuf,
}
Expand description
Options for directories used by the file store.
Fields§
§data_path: PathBuf
Path to the directory where data and outboard files are stored.
temp_path: PathBuf
Path to the directory where temp files are stored.
This must be on the same device as data_path
, since we need to
atomically move temp files into place.
Trait Implementations§
source§impl Clone for PathOptions
impl Clone for PathOptions
source§fn clone(&self) -> PathOptions
fn clone(&self) -> PathOptions
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for PathOptions
impl RefUnwindSafe for PathOptions
impl Send for PathOptions
impl Sync for PathOptions
impl Unpin for PathOptions
impl UnwindSafe for PathOptions
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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