2个版本
0.1.1 | 2021年4月21日 |
---|---|
0.1.0 | 2020年9月26日 |
#789 in 嵌入式开发
每月57次下载
在 ruspiro-mailbox 中使用
12KB
RusPiRo错误处理trait
为至少包含分配器实现的Error
trait提供类似于std::error::Error
的嵌入式环境。
用法
要使用此crate,只需将以下依赖项添加到您的Cargo.toml
文件中
[dependencies]
ruspiro-error = "0.1.1"
依赖项
当使用此crate构建最终二进制文件时,crate图必须包含分配器实现。RusPiRo系列crate中使用的分配器是ruspiro-allocator
许可证
根据Apache License,版本2.0(LICENSE-APACHE 或 https://apache.ac.cn/licenses/LICENSE-2.0)或MIT(LICENSE-MIT 或 http://opensource.org/licenses/MIT)进行许可,任选其一。