pub fn lookup_by_uuid(uuid: &str) -> Option<Bdev> {
        match Self::bdev_first() {
            None => None,
            Some(bdev) => {
                let b: Vec<Bdev> = bdev
                    .into_iter()
                    .filter(|b| b.uuid_as_string() == uuid)
                    .collect();
                b.first().cloned()
            }
        }
    }
/// lookup a bdev by its uuid
lookup a bdev by its uuid
lookup a bdev by its uuid
pub fn lookup_by_uuid(uuid: &str) -> Option<Bdev> {
        match Self::bdev_first() {
            None => None,
            Some(bdev) => {
                let b: Vec<Bdev> = bdev
                    .into_iter()
                    .filter(|b| b.uuid_as_string() == uuid)
                    .collect();
                b.first().cloned()
            }
        }
    }
pub fn lookup_by_uuid ( uuid : & str ) -> Option < Bdev > { match Self :: bdev_first ( ) { None => None , Some ( bdev ) => { let b : Vec < Bdev > = bdev . into_iter ( ) . filter ( | b | b . uuid_as_string ( ) == uuid ) . collect ( ) ; b . first ( ) . cloned ( ) } } }
lookup a bdev by its uuid
lookup a bdev by its uuid
uuid
&str