pub fn pv<'b>(&'b self) -> Option<(Option<&'a LvmVg>, &'b LvmPv)> {
        self.ctx.components.pvs.get(self.id).map(|(pv, vg_entity)| {
            let vg = vg_entity.map(|ent| self.ctx.components.vgs.get(ent));
            (vg, pv)
        })
    }
// For PVs which may be associated with a VG.
For PVs which may be associated with a VG.
For PVs which may be associated with a VG .
pub fn pv<'b>(&'b self) -> Option<(Option<&'a LvmVg>, &'b LvmPv)> {
        self.ctx.components.pvs.get(self.id).map(|(pv, vg_entity)| {
            let vg = vg_entity.map(|ent| self.ctx.components.vgs.get(ent));
            (vg, pv)
        })
    }
pub fn pv < ' b > ( & ' b self ) -> Option < ( Option < & ' a LvmVg > , & ' b LvmPv ) > { self . ctx . components . pvs . get ( self . id ) . map ( | ( pv , vg_entity ) | { let vg = vg_entity . map ( | ent | self . ctx . components . vgs . get ( ent ) ) ; ( vg , pv ) } ) }
For PVs which may be associated with a VG.
For PVs which may be associated with a VG .
&'b self
&'b self