logo
Expand description

Maintenance

vino-macros

Macros used by the Vino project

Re-exports

pub use tracing;

Macros

Test a condition and if it is false, return the supplied error

Aggressively prints to the terminal. Useful for rapid debugging in a sea of terminal output.

Turns an expression into an error while logging it.

Wrap an expression that prints debug output to the terminal while returning the original expression. Useful for logging without disturbing the code’s structure.

Returns an unwrapped Result if Ok() otherwise returns the passed expression

Returns an unwrapped Ok if Ok() otherwise continues a loop.

Returns an unwrapped Option if Some() otherwise returns the passed expression

Returns an unwrapped Option if Some() otherwise continues a loop.