pub fn lv(&self) -> Option<(&LvmVg, &LvmLv)> {
        self.ctx
            .components
            .lvs
            .get(self.id)
            .map(|(lv, vg_entity)| (self.ctx.components.vgs.get(*vg_entity), lv))
    }
// For LV devices which are associated with a VG.
For LV devices which are associated with a VG.
For LV devices which are associated with a VG .
pub fn lv(&self) -> Option<(&LvmVg, &LvmLv)> {
        self.ctx
            .components
            .lvs
            .get(self.id)
            .map(|(lv, vg_entity)| (self.ctx.components.vgs.get(*vg_entity), lv))
    }
pub fn lv ( & self ) -> Option < ( & LvmVg , & LvmLv ) > { self . ctx . components . lvs . get ( self . id ) . map ( | ( lv , vg_entity ) | ( self . ctx . components . vgs . get ( * vg_entity ) , lv ) ) }
For LV devices which are associated with a VG.
For LV devices which are associated with a VG .
&self
&self