async def METHOD_NAME(
    inner_value: Awaitable[Result[_ValueType, _ErrorType]],
) -> Result[_ErrorType, _ValueType]:
    """Swaps value and error types in ``Result``."""
    return (await inner_value).swap()