[−][src]Crate myutil
Modules
err | All errors will be converted to MyError. |
Macros
alt | 高阶函数中提搞可读性. |
d | 打印模块路径, 文件名称, 行号等 Debug 信息 |
datetime_local | get current native-local-datatime |
die | Just a panic |
eg | Generate error with debug info |
info | 用于非关键环节打印提示性信息. |
info_omit | 打印消息后直接丢弃返回值 |
map | hashmap operations |
ok | ok |
omit | 完全忽略返回值 |
pd | 打印平面信息 |
pnk | 打印错误信息并 Panic |
sleep_ms | sleep |
so_eq | test assert |
so_le | test assert |
so_ne | test assert |
ts | get current UTC-timestamp |
vct | vector operations |
Functions
genlog | 生成日志内容 |
p | print log |
pdie | 打印 error_chain 之后 Panic |