Modules§
Structs§
Traits§
- argument boolean/flag embedded equalwithvalue - generate one guess - invoke - first - match first opt - invoke the handler of first opt - set first opt matched if handler return Ok(Some()) - all - match all the opt - invoke the handler of all matched opt - set opt matched and return if any handler return Ok(Some())
Functions§
- Process the return value of handler: call the callback
when_ret
and return the return value of handler ifOk
; ignore failure and call the callbackwhen_fail
on the failure ifErr
or the return theErr
.