[−][src]Trait proceed::Proceed
The abstraction around checking whether to proceed or not.
Required methods
fn proceed(&mut self) -> Option<bool>
Check if the input allows for proceeding. If the input is empty, we return None.
Provided methods
fn proceed_or(&mut self, default: bool) -> bool
Check if the input allows for proceeding. If the input is empty, return the given default.
fn proceed_or_else<F: FnOnce() -> bool>(&mut self, f: F) -> bool
Check if the input allows for proceeding. If the input is empty, then run the given function.