Coverage for wasmtime/bindgen/generated/imports/random.py: 83%

6 statements  

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

1from abc import abstractmethod 

2from typing import Protocol 

3 

4class HostRandom(Protocol): 

5 @abstractmethod 

6 def get_random_bytes(self, len: int) -> bytes: 

7 raise NotImplementedError 

8