Function dharitri_codec::top_decode_from_nested_or_exit
source · pub fn top_decode_from_nested_or_exit<T, I, ExitCtx: Clone>(
input: I,
c: ExitCtx,
exit: fn(_: ExitCtx, _: DecodeError) -> !
) -> Twhere
I: TopDecodeInput,
T: NestedDecode,Expand description
Top-decodes the result using the NestedDecode implementation. Uses the fast-exit mechanism in case of error.