[−][src]Crate myutil
MyUtil
A useful util-collections for Rust.
Modules
| err | MyError |
Macros
| alt | optimize readable in high-level-functions |
| d | print debug-info, eg: modular and file path, line number ... |
| datetime_local | get current native-local-datatime(+8) |
| die | Just a panic |
| eg | Generate error with debug info |
| info | print infomation only |
| info_omit | drop the result afeter printing the message |
| map | map operations |
| ok | an |
| omit | omit the result without printing any message |
| pd | print msg those impl |
| pnk | print log, and panic |
| sleep_ms | sleep in milliseconds |
| so_eq | test assert in |
| so_le | test assert in |
| so_ne | test assert in |
| ts | get current UTC-timestamp |
| vct | vector operations |
Functions
| gen_datetime_local | |
| genlog | generate the log string |
| p | print log |
| pdie | panic after printing |