[][src]Function minlambda::run_ok

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

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.