-
### Code
```Rust
struct Foo;
impl Foo {
#[allow(dead_code)]
fn foo(self) {
panic!("wrong method!")
}
}
trait Trait {
fn foo(self);
}
impl
-
To avoid a valid lint, we should desugar `FooClientMethods` methods as `async fn foo() -> Result` into `fn foo() -> impl Future` instead.
See for context.
-
This library seems quite nice, but it has a main downside compared to Rust code: The lack of early-return on errors.
Take this as an example:
```typescript
async fn read(path: string, key: stri…
dbrgn updated
3 weeks ago
-
The core team previously started a process to establish charters for all teams. However, it wasn't finished. I would like to see a central place (my preference is the Forge) which contains basic chart…
-
This is a tracking issue for the RFC "2996" (rust-lang/rfcs#2996).
The feature gate for the issue is `#![feature(async_iterator)]`.
### About tracking issues
Tracking issues are used to rec…
-
It would be nice to have an easier to use `Filesystem` API that also uses Rust's `async` feature
-
The question I have is primarily how we connect things like Android coroutines into the Rust async ecosystem, and whether that is an effective way to manage the necessary work (vs just having Rust do …
str4d updated
2 years ago
-
# Rust Asynchronous Programming – my-dev-note –
오늘은 Rust에서 제공하는 Asynchronous Programming 관련 feature들에 대해 정리하면서, async 관련 포스트를 쓸 때 마다 사용되는 단어들, async, future, runtime, executor에 대해 정리해 보겠습니다. 오늘은 유독 내…
-
Read and write directly to S3 to avoid need for large local disks
osmpbf supports arbitrary inputs that support `Read + Send`
https://github.com/b-r-u/osmpbf/blob/main/src/reader.rs#L17
The par…
-
### Code
```Rust
cargo install dufs
```
### Meta
`rustc --version --verbose`:
```
rustc -V
rustc 1.71.1
```
### Error output
```
cargo install dufs
Updating crates.io index
Installing d…