开发者交流平台
开发者交流平台

通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。

bj
登录
  • 友情链接
站内
rust

rust

go

你可以如何使用unsync::OnceCell或unsync::Lazy来处理一个不是sync的类型?

英文: How can I use unsync::OnceCell or unsync::Lazy for a type that is not sync? 问题 我正在研究once_cell的功能...
huangapple 2023年8月11日225评论rust
go

错误: 找不到链接器 `link.exe`(已安装VS BuildTools)

英文: error: linker `link.exe` not found (VS BuildTools installed) 问题 Output: C:/Users/lennard/.cargo/...
huangapple 2023年8月10日205评论compiler-errors rust
go

无法确定函数特征的返回类型

英文: Can't figure out return type with function trait 问题 I've translated the code part you provid...
huangapple 2023年8月10日164评论rust
go

`tokio::sync::broadcast::Receiver<T>` 不支持克隆操作。

英文: tokio::sync::broadcast::Receiver<T> is not Clone 问题 我有一个像这样的结构体: #[derive(Clone)] struct F...
huangapple 2023年8月10日169评论channel rust
go

Rust 中与 Python 的 Future 相当的是 Future(具有 set_result() 方法)。

英文: Rust equivalent of Python Future (i.e. with set_result() method) 问题 在一些知名的实用程序包中,是否有一个类似于Python的...
huangapple 2023年8月10日187评论asynchronous rust
go

为什么在设置响应体之前需要解引用 hyper 的 Response?

英文: Why do I need to dereference hyper's Response before setting a body? 问题 在这里为您翻译代码部分: let mut...
huangapple 2023年8月10日161评论rust
go

在Rust函数中出现奇怪的生命周期,第二个可变借用发生。

英文: strange lifetime in rust functions, second mutable borrow occurs 问题 第一个代码示例中有一个生命周期标记<'a>,...
huangapple 2023年8月10日188评论borrow-checker rust
go

具体类型的通用函数特化

英文: Generic function specialization for a concrete type 问题 在这个示例中,我正在尝试创建一些颜色转换工具:我希望确保每个实现了ColorSpa...
huangapple 2023年8月9日178评论generics rust
go

确保 MutexGuard 作为引用的扩展生命周期。

英文: Ensure extended lifetime of MutexGuard used as reference 问题 在下面的最小代码示例中,使用MutexGuard来访问一个BindGro...
huangapple 2023年8月9日155评论lifetime rust
go

确保延长用作引用的MutexGuard的寿命

英文: Ensure extended lifetime of MutexGuard used as reference 问题 在以下最小代码示例中,使用MutexGuard来访问BindGroup,...
huangapple 2023年8月9日131评论lifetime rust

文章导航

1 2 3 … 72
name
开发者交流平台
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
文章117266 留言 4 访客13363862

热门标签

spring c# json html css python typescript sql javascript node.js c++ spring-boot reactjs pandas flutter go android r arrays java

悟已往之不谏,知来者之可追!

今日
00%
已00小时
本周
00%
已过00天
本月
00%
已过00天
今年
00%
已是00月

Copyright ©  开发者交流平台 版权所有.

闽 ICP 备 2022019110 号 - 1
  • 开发者交流平台

    本页二维码