pub enum BundleStore {
TempDir(TempDir),
Path(PathBuf),
}
Expand description
Represent a directory to store bundled files within.
Variants§
TempDir(TempDir)
Use a temporary directory that will be cleaned up automatically.
Path(PathBuf)
Use a specific directory that will persist after the process ends.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BundleStore
impl RefUnwindSafe for BundleStore
impl Send for BundleStore
impl Sync for BundleStore
impl Unpin for BundleStore
impl UnwindSafe for BundleStore
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