Enum noosphere::NoosphereStorage
source · pub enum NoosphereStorage {
Scoped {
path: PathBuf,
},
Unscoped {
path: PathBuf,
},
}Expand description
An enum describing different storage stragies that may be interesting depending on the environment and implementation of Noosphere
Variants§
Scoped
Scoped storage implies that the given path is a root and that spheres should be stored in a sub-path that includes the sphere identity at the trailing end
Unscoped
Unscoped storage implies that sphere data should be kept at the given path. Note that this is typically only appropriate when dealing with a single sphere.
Trait Implementations§
source§impl Clone for NoosphereStorage
impl Clone for NoosphereStorage
source§fn clone(&self) -> NoosphereStorage
fn clone(&self) -> NoosphereStorage
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 RefUnwindSafe for NoosphereStorage
impl Send for NoosphereStorage
impl Sync for NoosphereStorage
impl Unpin for NoosphereStorage
impl UnwindSafe for NoosphereStorage
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