fn bdev_uri(&self) -> Option<String> {
        for alias in self.as_ref().aliases().iter() {
            if let Ok(mut uri) = url::Url::parse(alias) {
                if self == uri {
                    if !uri.query_pairs().any(|e| e.0 == "uuid") {
                        uri.query_pairs_mut()
                            .append_pair("uuid", &self.uuid_as_string());
                    }
                    return Some(uri.to_string());
                }
            }
        }
        None
    }
/// return the URI that was used to construct the bdev
return the URI that was used to construct the bdev
return the URI that was used to construct the bdev
fn bdev_uri(&self) -> Option<String> {
        for alias in self.as_ref().aliases().iter() {
            if let Ok(mut uri) = url::Url::parse(alias) {
                if self == uri {
                    if !uri.query_pairs().any(|e| e.0 == "uuid") {
                        uri.query_pairs_mut()
                            .append_pair("uuid", &self.uuid_as_string());
                    }
                    return Some(uri.to_string());
                }
            }
        }
        None
    }
fn bdev_uri ( & self ) -> Option < String > { for alias in self . as_ref ( ) . aliases ( ) . iter ( ) { if let Ok ( mut uri ) = url :: Url :: parse ( alias ) { if self == uri { if ! uri . query_pairs ( ) . any ( | e | e . 0 == " " ) { uri . query_pairs_mut ( ) . append_pair ( " " , & self . uuid_as_string ( ) ) ; } return Some ( uri . to_string ( ) ) ; } } } None }
return the URI that was used to construct the bdev
return the URI that was used to construct the bdev
&self