Handle Errors
🔧 深入掌握 Rust 错误处理 🛠️ 在 Rust 中,错误处理是保证程序健壮性的关键部分。Rust 的错误处理机制不仅强大而且灵活,允许开发者以多种方式表达和处理错误。虽然第三方库如 thiserror 或 anyhow 提供了便捷的错误处理方式,但 Rust 的标准库同样提供了一套完整的工
Study
未读
Learn about rust marcos
Learn about rust marcos Rust marcos are a powerful feature that allow you to write code that is more concise, readable, and maintainable. They are use
How to verify a contract
How to verify a contract with Foundry How to verify a contract with Foundry Foundry 简介
Radix sort by rust
基数排序在 Rust 中的实现 🦀 基数排序是一种非比较型的整数排序算法,它通过将整数键按照构成这些键的各个数字分组,然后对这些分组进行排序来实现排序。
Framing and Frame in Net
Framing and Frame in Network Communication 📦 Framing is a fundamental concept in network communication, transforming a continuous stream of data into
Web3
未读
ERC20 Contract built
ERC20 Contract built Requrirement 📂 完善合约,实现以下功能: 设置 Token 名称(name):“BaseERC20” 设置 Token 符号(symbol):“BERC20” 设置 Token 小数位 decimals:18 设置 Token 总量(tota
Tokio Async Example
Tokio Async Example This example demonstrates how to use the tokio crate to perform asynchronous operations. Tokio Async Example Prerequisites Install