Coverage for wasmtime/component/__init__.py: 100%

10 statements  

« prev     ^ index     » next       coverage.py v7.11.3, created at 2025-12-01 19:40 +0000

1from ._component import Component, ExportIndex 

2from ._linker import Linker, LinkerInstance 

3from ._instance import Instance 

4from ._func import Func 

5from ._types import ComponentType, ModuleType, ComponentItem, ComponentInstanceType, FuncType, ResourceType 

6from ._types import ValType, Bool, U8, U16, U32, U64, S8, S16, S32, S64, F32, F64, Char, String, ErrorContext 

7from ._types import ListType, RecordType, TupleType, VariantType, EnumType, OptionType, ResultType, FlagsType 

8from ._types import StreamType, FutureType, OwnType, BorrowType, Variant, Record 

9from ._resources import ResourceAny, ResourceHost 

10 

11__all__ = [ 

12 'Component', 

13 'ExportIndex', 

14 'Linker', 

15 'LinkerInstance', 

16 'Instance', 

17 'Func', 

18 'ResourceType', 

19 'ResourceAny', 

20 'ResourceHost', 

21 'ComponentType', 

22 'ModuleType', 

23 'ComponentItem', 

24 'ComponentInstanceType', 

25 'FuncType', 

26 'ValType', 

27 'Bool', 

28 'U8', 

29 'U16', 

30 'U32', 

31 'U64', 

32 'S8', 

33 'S16', 

34 'S32', 

35 'S64', 

36 'F32', 

37 'F64', 

38 'Char', 

39 'String', 

40 'ErrorContext', 

41 'ListType', 

42 'RecordType', 

43 'TupleType', 

44 'VariantType', 

45 'EnumType', 

46 'OptionType', 

47 'ResultType', 

48 'FlagsType', 

49 'StreamType', 

50 'FutureType', 

51 'OwnType', 

52 'BorrowType', 

53 'Variant', 

54 'Record', 

55]