|
Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
|
Public Types | |
| using | transform_t = std::conditional_t<std::is_void_v<Transform>, std::identity, Transform> |
Public Member Functions | |
| Generator< T, Transform > | get_return_object () |
| std::suspend_always | initial_suspend () |
| std::suspend_always | final_suspend () noexcept |
| void | unhandled_exception () |
|
template<typename From> requires requires(transform_t t, From && f) { { t(std::forward<From>(f)) } -> std::convertible_to<T>; } | |
| std::suspend_always | yield_value (From &&from) |
|
template<typename From> requires requires(transform_t t, From && f) { static_cast<Generator<T, void>>(t(std::forward<From>(f))); } | |
| std::suspend_always | yield_value (From &&from) |
| void | return_void () |
Public Attributes | |
| transform_t | convert |
| std::optional< GeneratorBase< T > > | inner |
| Public Attributes inherited from nix::_generator::promise_state< T > | |
| std::variant< link< T >, T, failure, finished > | value {} |
| link< T > | parent {} |