macro_rules! release_after {
($releasable_name:ident, $context:expr, async || $($output_type:ty)? $body:block ) => { ... };
($releasable_name:ident, $context:expr, $(|| -> $output_type:ty)? $body:block ) => { ... };
}Expand description
Macro that ensure the releasable is released with the given context after the body returns.