![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
RUST
FRANCIS-CHING
这个作者很懒,什么都没留下…
展开
-
.server is not ready yet 日志显示 {“type“:“log“,“@timestamp“:“2022-04-25T15:48:07Z“,“tags“:[“warning“,“
.server is not ready yet 日志显示 {"type":"log","@timestamp":"2022-04-25T15:48:07Z","tags":["warning","migrations"],"pid":3580,"message":"Another Kibana instance appears to be migrating the index. Waiting for that migration to complete. If no other Kibana ins原创 2023-03-10 15:22:49 · 1071 阅读 · 0 评论 -
RUST泛型的定义
point T U是结构体泛型 MIXUPS是声明泛型V,W other的VW是接收f泛型 Point TW是返回泛型原创 2021-02-22 04:33:47 · 330 阅读 · 0 评论 -
RUST match表达式作为一个语句必需分号结尾
原创 2021-02-21 16:29:51 · 441 阅读 · 0 评论 -
关于RUST HASHMAP方法遍历 entry(确认是否有K若没有便insert V)返回值
首先遍历代码, text.split_whitespace 遍历代码text 以空格位分割 map.entry(word).or_insert(0); 若代码内部不存在遍历Word 则or_insert 新增K.V 并返回当前代码V,若内部存在word 则由.entry(word)返回当前K的V 进行+1 count “”代表解引用 use std::collections::HashMap; let text = "hello world wonderful world"; let mut map原创 2021-02-21 15:59:10 · 1842 阅读 · 2 评论 -
CSRF攻击与防御概念
CSRF概念:CSRF跨站点请求伪造(Cross—Site Request Forgery),跟XSS攻击一样,存在巨大的危害性,你可以这样来理解: 攻击者盗用了你的身份,以你的名义发送恶意请求,对服务器来说这个请求是完全合法的,但是却完成了攻击者所期望的一个操作,比如以你的名义发送邮件、发消息,盗取你的账号,添加系统管理员,甚至于购买商品、虚拟货币转账等。 如下:其中Web A为存在CSRF漏洞的网站,Web B为攻击者构建的恶意网站,User C为Web A网站的合法用户。 CSRF攻击介绍及防御原创 2021-02-18 16:26:47 · 93 阅读 · 0 评论 -
RUST error: linking with `x86_64-w64-mingw32-gcc` failed: exit code: 1
error: linking with x86_64-w64-mingw32-gcc failed: exit code: 1 bug原因是由于MinGW安装顺序问题引起的,应该先安装mingw_GCC的安装包在安装RUST安装包,其次安装RUST后运行依然出现bug是由于未安装 Microsoft Visual C++ Build Tools 2015的库 链接:https://download.microsoft.com/download/5/f/7/5f7acaeb-8363-451f-9425-68原创 2021-02-17 00:55:33 · 7059 阅读 · 2 评论