/// Some device entities are logical volumes.
Some device entities are logical volumes.
Some device entities are logical volumes .
pub fn lvm_logical_volumes<'a>(
        &'a self,
    ) -> impl Iterator<Item = (DeviceEntity, &'a LvmLv, &'a LvmVg)> + 'a {
        self.components.devices.lvs.iter().map(move |(id, (lvs, vgent))| {
            let vg = &self.components.vgs.volume_groups[*vgent];
            (id, lvs, vg)
        })
    }
pub fn lvm_logical_volumes < ' a > ( & ' a self , ) -> impl Iterator < Item = ( DeviceEntity , & ' a LvmLv , & ' a LvmVg ) > + ' a { self . components . devices . lvs . iter ( ) . map ( move | ( id , ( lvs , vgent ) ) | { let vg = & self . components . vgs . volume_groups [ * vgent ] ; ( id , lvs , vg ) } ) }
Some device entities are logical volumes.
Some device entities are logical volumes .
&'a self