Module aopt::guess

source ·

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 if Ok; ignore failure and call the callback when_fail on the failure if Err or the return the Err.