-
I tried [this code](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=0203af0a817618bc8fae81732ef23e4d):
```rust
#![feature(async_fn_in_trait)]
#![feature(return_type_notat…
-
### Is your feature request related to a problem or challenge?
While working on #10364, I found that changing the result in the rust test is quite painful.
Currently, we need to fix the string m…
-
Am I doing something wrong here?
Code:
```rust
fn get_or_set(
&self,
key: &str,
get_value: G,
expiration: Option,
) -> Pin Deserialize GF + Send + 'static,
GF: Future + Sen…
-
Fred version - 9.1.2 - REPLICAS Features enabled
Redis version - 7.2.5 JEMALLOC
Platform - LINUX Debian Bullseye
Deployment type - cluster
My cluster setup consists of 4 servers. Each 3 masters …
-
If you change say_hello to async and call tokio::spawn you get an error:
```
21 #[async_trait]
22 impl SayHelloService for PluginSayHello {
23 async fn say_hello(&self) {
24 …
-
## The problem
If channels are setup, it is no longer possible to send regular packets. Since the ```send``` method uses the ```sender``` which has been moved when building channels, it causes panic …
-
I tried this code:
```rust
#![feature(return_position_impl_trait_in_trait)]
use std::future::Future;
pub trait Foo: Sync {
fn run src/lib.rs:12:9
|
12 | / async move {
1…
-
## Context
I've been slowly creating some modules to use in various projects (mostly wrapping rust libraries).
Some of them are async libraries and I want to use these modules with other lua binar…
-
# 一. 前言
在上一篇文章[《使用Rust和WebAssembly整花活儿(二)——DOM和类型转换》](https://github.com/Kuari/Blog/issues/73)中,描述了使用Rust操作DOM,并实现Rust与JS类型转换的多种方法。
在开发 Web 应用程序时,使用 Rust 编写的 Wasm 模块可以提供更高的性能和更好的安全性。但是,为了与现有的 Ja…
-
## Description
The [TiKV](https://github.com/tikv/tikv) has recently been launching a new feature in the transaction model named [Async commit](https://github.com/tikv/sig-transaction/tree/master/d…