Crate ruc

source · []
Expand description

RUC

A useful util-collections for Rust.

Modules

RucError

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

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 RUC style

Test assert in RUC style

Test assert in RUC style

get current UTC-timestamp

vector operations

Functions

generate a ‘formated +8 datetime’

generate the log string

generate log in the original rust debug format

pDeprecated

Print log

p_debugDeprecated

Print log in rust debug format

p_dieDeprecated

Panic after printing error_chain

Print log

Print log in rust debug format

Panic after printing error_chain

Panic after printing error_chain