Module quicli::prelude [] [src]

Prelude – import all of this

To get up-and-running real fast, do use quicli::prelude::*. It's just like use std::io::prelude::* but with less I/O and more C/L/I!

(If you don't like glob imports, feel free to import the items 1-by-1. You will sadly miss out on a bunch of derive macros, though.)

Reexports

pub use rayon::prelude::*;
pub use fs::*;

Macros

bail

Exits a function early with an Error.

debug

Logs a message at the debug level.

ensure

Exits a function early with an Error if the condition is not satisfied.

error

Logs a message at the error level.

format_err

Constructs an Error using the standard string interpolation syntax.

info

Logs a message at the info level.

log

The standard logging macro.

log_enabled

Determines if a message logged at the specified level in that module will be logged.

trace

Logs a message at the trace level.

warn

Logs a message at the warn level.

Type Definitions

Result

A handy alias for Result that carries a generic error type.