async fn fetch_pools(&self) -> Result<Vec<Pool>, SvcError> {
        let mut ctx = self.grpc_client().await?;
        let rpc_pools = ctx
            .client
            .list_pools(Null {})
            .await
            .context(GrpcListPools {})?;
        let rpc_pools = &rpc_pools.get_ref().pools;
        let pools = rpc_pools
            .iter()
            .map(|p| rpc_pool_to_bus(p, self.node.id.clone()))
            .collect();
        Ok(pools)
    }
/// Fetch all pools from this node via gRPC
Fetch all pools from this node via gRPC
Fetch all pools from this node via gRPC
async fn fetch_pools(&self) -> Result<Vec<Pool>, SvcError> {
        let mut ctx = self.grpc_client().await?;
        let rpc_pools = ctx
            .client
            .list_pools(Null {})
            .await
            .context(GrpcListPools {})?;
        let rpc_pools = &rpc_pools.get_ref().pools;
        let pools = rpc_pools
            .iter()
            .map(|p| rpc_pool_to_bus(p, self.node.id.clone()))
            .collect();
        Ok(pools)
    }
async fn fetch_pools ( & self ) -> Result < Vec < Pool > , SvcError > { let mut ctx = self . grpc_client ( ) . await ? ; let rpc_pools = ctx . client . list_pools ( Null { } ) . await . context ( GrpcListPools { } ) ? ; let rpc_pools = & rpc_pools . get_ref ( ) . pools ; let pools = rpc_pools . iter ( ) . map ( | p | rpc_pool_to_bus ( p , self . node . id . clone ( ) ) ) . collect ( ) ; Ok ( pools ) }
Fetch all pools from this node via gRPC
Fetch all pools from this node via gRPC
&self