Function storage_manager::storage_devices
source · pub fn storage_devices() -> impl Iterator<Item = StorageDeviceRef>
Expand description
Returns an iterator over all storage devices attached to the storage controllers on this system.
This function requires allocation, as it currently clones the list of storage devices (lazily)
within each storage controller, effectively a Vec<Arc<Vec<Arc<StorageDevice>>>>
.