Crate ruc

source · []
Expand description

MyUtil

A useful util-collections for Rust.

Modules

MyError

Macros

optimize readable in high-level-functions

print debug-info, eg: modular and file path, line number …

get current native-local-datatime(+8)

Just a panic

print debug-info, eg: modular and file path, line number …

Generate error with debug info

print infomation only

drop the result afeter printing the message

map operations

an ok wrapper

omit the result without printing any message

print msg those impl fmt::Display

print log, and panic

sleep in milliseconds

test assert in MyUtil style

test assert in MyUtil style

test assert in MyUtil style

get current UTC-timestamp

vector operations

Functions

generate a ‘formated +8 datetime’

generate the log string

print log

panic after printing error_chain