Function run_ok

Source
pub fn run_ok<F, D, S>(handler: F) -> !
where F: FnMut(D) -> S, D: DeserializeOwned, S: Serialize,
Expand description

run, for handlers that don’t return Result.

This function is otherwise the same as run: it does not return and will panic on certain unrecoverable errors.