Coverage for wasmtime/bindgen/generated/imports/exit.py: 86%

7 statements  

« prev     ^ index     » next       coverage.py v7.6.12, created at 2025-02-20 16:25 +0000

1from ..types import Result 

2from abc import abstractmethod 

3from typing import Protocol 

4 

5class HostExit(Protocol): 

6 @abstractmethod 

7 def exit(self, status: Result[None, None]) -> None: 

8 raise NotImplementedError 

9