pub(crate) enum Holder<'a> {
Plain {
path: &'a RepositoryPath,
},
Keyed {
path: &'a RepositoryPath,
key: &'a ManagedPath,
},
}Expand description
Where a unit keeps its version.
Variants§
Plain
A file with nothing but the version.
Fields
§
path: &'a RepositoryPathThe version file.
Keyed
A string at a key path inside a structured document.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Holder<'a>
impl<'a> RefUnwindSafe for Holder<'a>
impl<'a> Send for Holder<'a>
impl<'a> Sync for Holder<'a>
impl<'a> Unpin for Holder<'a>
impl<'a> UnsafeUnpin for Holder<'a>
impl<'a> UnwindSafe for Holder<'a>
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