async fn bdev_create_and_share(hdl: &mut RpcHandle) -> String {
    const DISK_NAME: &str = "disk0";
    hdl.bdev
        .create(BdevUri {
            uri: format!("malloc:///{}?size_mb=100", DISK_NAME),
        })
        .await
        .unwrap();
    hdl.bdev
        .share(BdevShareRequest {
            name: DISK_NAME.into(),
            proto: "nvmf".into(),
        })
        .await
        .unwrap()
        .into_inner()
        .uri
}
/// Create and share a bdev over NVMf.
Create and share a bdev over NVMf.
Create and share a bdev over NVMf .
async fn bdev_create_and_share(hdl: &mut RpcHandle) -> String {
    const DISK_NAME: &str = "disk0";
    hdl.bdev
        .create(BdevUri {
            uri: format!("malloc:///{}?size_mb=100", DISK_NAME),
        })
        .await
        .unwrap();
    hdl.bdev
        .share(BdevShareRequest {
            name: DISK_NAME.into(),
            proto: "nvmf".into(),
        })
        .await
        .unwrap()
        .into_inner()
        .uri
}
async fn bdev_create_and_share ( hdl : & mut RpcHandle ) -> String { const DISK_NAME : & str = " " ; hdl . bdev . create ( BdevUri { uri : format ! ( " " DISK_NAME ) , } ) . await . unwrap ( ) ; hdl . bdev . share ( BdevShareRequest { name : DISK_NAME . into ( ) , proto : " " . into ( ) , } ) . await . unwrap ( ) . into_inner ( ) . uri }
Create and share a bdev over NVMf.
Create and share a bdev over NVMf .
hdl
&mut RpcHandle