Macro assure::assure_io_gt [−][src]
Assure one value is less than another value.
If true, then return Ok(true).
Otherwise, return Err(std::io::Error …).
This macro has a second form, where a custom message can be provided.
Examples
assure_io_gt!(2, 1); assure_io_gt!(2, 1, "message");