Skip to main content

Module try_thunk

Module try_thunk 

Source
Expand description

Deferred, non-memoized fallible computation with higher-kinded type support.

The fallible counterpart to Thunk. Each call to TryThunk::evaluate re-executes the computation and returns a Result. Supports borrowing and lifetime polymorphism.

Structsยง

TryThunk
A deferred computation that may fail with error type E.