]> git.proxmox.com Git - pmg-log-tracker.git/commit
add filter() and qentry() helper methods
authorMira Limbeck <m.limbeck@proxmox.com>
Fri, 20 Mar 2020 12:08:27 +0000 (13:08 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 24 Mar 2020 10:40:07 +0000 (11:40 +0100)
commit00b849aeb031371ae8a47bb371321db69d2e9745
tree17ed8b2a20acac18caaefa698f231fc82150c524
parent813c46571122d4f6c561cd7028ce07dcc3c9a682
add filter() and qentry() helper methods

This simplifies access to the structs by cloning and then upgrading them
if possible and returning an Option<Rc<>> instead of an Option<Weak<>>.

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
src/main.rs