pub struct CmaTreeRoot {
pub root: PathBuf,
pub namespace: String,
pub sync: SyncMode,
}Expand description
A pointer at one CMA .memory/ tree on disk plus the namespace
it should map into in mnemo.
Fields§
§root: PathBuf§namespace: String§sync: SyncModeImplementations§
Trait Implementations§
Source§impl Clone for CmaTreeRoot
impl Clone for CmaTreeRoot
Source§fn clone(&self) -> CmaTreeRoot
fn clone(&self) -> CmaTreeRoot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CmaTreeRoot
impl Debug for CmaTreeRoot
Source§impl<'de> Deserialize<'de> for CmaTreeRoot
impl<'de> Deserialize<'de> for CmaTreeRoot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CmaTreeRoot
Source§impl PartialEq for CmaTreeRoot
impl PartialEq for CmaTreeRoot
Source§impl Serialize for CmaTreeRoot
impl Serialize for CmaTreeRoot
impl StructuralPartialEq for CmaTreeRoot
Auto Trait Implementations§
impl Freeze for CmaTreeRoot
impl RefUnwindSafe for CmaTreeRoot
impl Send for CmaTreeRoot
impl Sync for CmaTreeRoot
impl Unpin for CmaTreeRoot
impl UnsafeUnpin for CmaTreeRoot
impl UnwindSafe for CmaTreeRoot
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