pub struct Hydrator(pub Rc<dyn Fn(&RepoPath) -> Option<Map<String, Value>>>);Expand description
Hydrator reads the fields of a document node from its file when the
graph first needs them. A graph built from the store holds no fields for
a node until the node is visited (CACHE-1_AC-22).
Tuple Fields§
§0: Rc<dyn Fn(&RepoPath) -> Option<Map<String, Value>>>Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Hydrator
impl !Send for Hydrator
impl !Sync for Hydrator
impl !UnwindSafe for Hydrator
impl Forget for Hydrator
impl Freeze for Hydrator
impl Move for Hydrator
impl Unpin for Hydrator
impl UnsafeUnpin for Hydrator
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