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