04 2022 档案

摘要:环境 Time 2022-01-20 Rust 1.58.0 Anyhow 1.0.52 概念 参考:https://docs.rs/anyhow/latest/anyhow/ 示例 toml [package] edition = "2021" name = "game" version = "0 阅读全文
posted @ 2022-04-29 14:21 jiangbo4444 阅读(141) 评论(0) 推荐(0) 编辑
摘要:环境 Time 2022-01-20 Rust 1.58.0 Anyhow 1.0.52 概念 参考:https://docs.rs/anyhow/latest/anyhow/ 示例 toml [package] edition = "2021" name = "game" version = "0 阅读全文
posted @ 2022-04-29 14:19 jiangbo4444 阅读(85) 评论(0) 推荐(0) 编辑
摘要:环境 Time 2022-01-20 Rust 1.58.0 Anyhow 1.0.52 概念 参考:https://docs.rs/anyhow/latest/anyhow/ 示例 toml [package] edition = "2021" name = "game" version = "0 阅读全文
posted @ 2022-04-29 14:17 jiangbo4444 阅读(297) 评论(0) 推荐(0) 编辑
摘要:环境 Time 2022-01-16 Rust 1.58.0 Axum 0.4.4 概念 参考:https://docs.rs/axum/latest/axum/index.html 示例 main.rs use axum::error_handling::HandleErrorLayer; use 阅读全文
posted @ 2022-04-29 14:09 jiangbo4444 阅读(636) 评论(0) 推荐(0) 编辑
摘要:环境 Time 2022-01-16 Rust 1.58.0 Axum 0.4.4 概念 参考:https://github.com/tokio-rs/axum/blob/main/examples/global-404-handler 示例 main.rs use axum::http::Stat 阅读全文
posted @ 2022-04-29 14:08 jiangbo4444 阅读(436) 评论(0) 推荐(0) 编辑
摘要:环境 Time 2022-01-19 Rust 1.58.0 Axum 0.4.4 概念 参考:https://docs.rs/axum/latest/axum/index.html 示例 main.rs use axum::extract::Extension; use axum::AddExte 阅读全文
posted @ 2022-04-29 14:07 jiangbo4444 阅读(521) 评论(0) 推荐(0) 编辑
摘要:环境 Time 2022-01-16 Rust 1.58.0 Axum 0.4.4 概念 参考:https://docs.rs/axum/latest/axum/index.html 示例 main.rs use axum::{http::StatusCode, routing::get, Rout 阅读全文
posted @ 2022-04-29 14:05 jiangbo4444 阅读(230) 评论(0) 推荐(0) 编辑
摘要:环境 Time 2022-01-16 Rust 1.58.0 Axum 0.4.4 概念 参考:https://docs.rs/axum/latest/axum/index.html 示例 main.rs use axum::{http::HeaderMap, routing::get, Route 阅读全文
posted @ 2022-04-29 14:04 jiangbo4444 阅读(653) 评论(0) 推荐(0) 编辑
摘要:环境 Time 2022-01-16 Rust 1.58.0 Axum 0.4.4 概念 参考:https://docs.rs/axum/latest/axum/index.html 示例 main.rs use axum::{extract::Path, routing::get, Router} 阅读全文
posted @ 2022-04-29 14:01 jiangbo4444 阅读(665) 评论(0) 推荐(0) 编辑
摘要:环境 Time 2022-01-16 Rust 1.58.0 Axum 0.4.4 概念 参考:https://docs.rs/axum/latest/axum/index.html 示例 main.rs use axum::{extract::Query, routing::get, Router 阅读全文
posted @ 2022-04-29 13:59 jiangbo4444 阅读(536) 评论(0) 推荐(0) 编辑
摘要:环境 Time 2022-01-16 Rust 1.58.0 Axum 0.4.4 概念 参考:https://docs.rs/axum/latest/axum/index.html 示例 main.rs use axum::{routing::post, Json, Router}; use se 阅读全文
posted @ 2022-04-29 13:57 jiangbo4444 阅读(363) 评论(0) 推荐(0) 编辑
摘要:环境 Time 2022-01-16 Rust 1.58.0 Axum 0.4.4 概念 参考:https://docs.rs/axum/latest/axum/index.html 示例 main.rs use axum::{routing::post, Router}; use std::net 阅读全文
posted @ 2022-04-29 13:56 jiangbo4444 阅读(628) 评论(0) 推荐(0) 编辑
摘要:环境 Time 2022-01-16 Rust 1.58.0 Axum 0.4.4 概念 参考:https://docs.rs/axum/latest/axum/index.html 示例 main.rs use axum::{response::Html, routing::get, Router 阅读全文
posted @ 2022-04-29 13:55 jiangbo4444 阅读(556) 评论(0) 推荐(0) 编辑
摘要:环境 Time 2022-01-16 Rust 1.58.0 Axum 0.4.4 概念 参考:https://docs.rs/axum/latest/axum/index.html 示例 toml [package] edition = "2021" name = "game" version = 阅读全文
posted @ 2022-04-29 13:53 jiangbo4444 阅读(500) 评论(0) 推荐(0) 编辑
摘要:环境 Time 2022-01-16 Rust 1.58.0 Axum 0.4.4 概念 参考:https://docs.rs/axum/latest/axum/index.html 示例 main.rs use axum::{routing::get, Json, Router}; use ser 阅读全文
posted @ 2022-04-29 13:52 jiangbo4444 阅读(541) 评论(0) 推荐(0) 编辑
摘要:环境 Time 2022-01-16 Rust 1.58.0 Axum 0.4.4 概念 参考:https://github.com/tokio-rs/axum/blob/main/examples/hello-world/src/main.rs 示例 main.rs use axum::{resp 阅读全文
posted @ 2022-04-29 13:49 jiangbo4444 阅读(175) 评论(0) 推荐(0) 编辑
摘要:环境 Time 2022-01-16 Rust 1.58.0 Axum 0.4.4 概念 参考:https://github.com/tokio-rs/axum/blob/main/examples/hello-world/src/main.rs 示例 main.rs use axum::{rout 阅读全文
posted @ 2022-04-29 12:29 jiangbo4444 阅读(69) 评论(0) 推荐(0) 编辑
摘要:环境 Time 2022-01-16 Rust 1.58.0 Axum 0.4.4 概念 参考:https://github.com/tokio-rs/axum/blob/main/examples/hello-world/src/main.rs 示例 main.rs use axum::{rout 阅读全文
posted @ 2022-04-29 12:28 jiangbo4444 阅读(90) 评论(0) 推荐(0) 编辑
摘要:环境 Time 2022-01-15 Rust 1.58.0 Tokio 1.15.0 Hyper 0.14.16 概念 参考:https://hyper.rs/guides/server/graceful-shutdown/ 示例 main.rs use futures::TryStreamExt 阅读全文
posted @ 2022-04-27 15:58 jiangbo4444 阅读(133) 评论(0) 推荐(0) 编辑
摘要:环境 Time 2022-01-15 Rust 1.58.0 Tokio 1.15.0 Hyper 0.14.16 概念 参考:https://hyper.rs/guides/client/advanced/ 示例 main.rs use std::error::Error; use hyper:: 阅读全文
posted @ 2022-04-27 15:57 jiangbo4444 阅读(434) 评论(0) 推荐(0) 编辑
摘要:环境 Time 2022-01-15 Rust 1.58.0 Tokio 1.15.0 Hyper 0.14.16 概念 参考:https://hyper.rs/guides/client/basic/ 示例 main.rs use std::error::Error; use hyper::{bo 阅读全文
posted @ 2022-04-27 15:56 jiangbo4444 阅读(130) 评论(0) 推荐(0) 编辑
摘要:环境 Time 2022-01-15 Rust 1.58.0 Tokio 1.15.0 Hyper 0.14.16 概念 参考:https://hyper.rs/guides/server/echo/ 示例 main.rs use futures::TryStreamExt; use hyper:: 阅读全文
posted @ 2022-04-27 15:56 jiangbo4444 阅读(89) 评论(0) 推荐(0) 编辑
摘要:环境 Time 2022-01-15 Rust 1.58.0 Tokio 1.15.0 Hyper 0.14.16 概念 参考:https://docs.rs/hyper/latest/hyper/server/index.html 示例 main.rs use hyper::service::{m 阅读全文
posted @ 2022-04-27 15:54 jiangbo4444 阅读(131) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示