Files

63 lines
2.3 KiB
Plaintext
Raw Permalink Normal View History

module test_fullapi_proxy_rust {
version "1.0.0"
description "Rust cdylib proxy: consumes the full_api surface of either provider via an interface dependency and re-exposes it (forwards every method, re-emits every event). useProvider(name) binds the runtime target."
category "testing"
depends []
method useProvider(name: tstr) -> bool
method currentProvider() -> tstr
method getLastEvent() -> tstr
method probeAsync() -> tstr
method getAsyncProbe() -> tstr
method whoAmI() -> tstr
method echoString(v: tstr) -> tstr
method echoBytes(v: bstr) -> bstr
method echoInt(v: int) -> int
method echoUint(v: uint) -> uint
method echoDouble(v: float64) -> float64
method echoBool(v: bool) -> bool
method echoAny(v: any) -> any
method echoStringList(v: [tstr]) -> [tstr]
method echoIntList(v: [int]) -> [int]
method echoUintList(v: [uint]) -> [uint]
method echoDoubleList(v: [float64]) -> [float64]
method echoBoolList(v: [bool]) -> [bool]
method echoList(v: [any]) -> [any]
method echoMap(v: {tstr: any}) -> {tstr: any}
method doVoid() -> void
method echoTriple(i: int, s: tstr, b: bstr) -> tstr
method makeResult(ok: bool) -> result
method fireStringEvent(v: tstr) -> bool
method fireBytesEvent(v: bstr) -> bool
method fireIntEvent(v: int) -> bool
method fireUintEvent(v: uint) -> bool
method fireDoubleEvent(v: float64) -> bool
method fireBoolEvent(v: bool) -> bool
method fireAnyEvent(v: any) -> bool
method fireStringListEvent(v: [tstr]) -> bool
method fireIntListEvent(v: [int]) -> bool
method fireUintListEvent(v: [uint]) -> bool
method fireDoubleListEvent(v: [float64]) -> bool
method fireBoolListEvent(v: [bool]) -> bool
method fireListEvent(v: [any]) -> bool
method fireMapEvent(v: {tstr: any}) -> bool
method fireTripleEvent(i: int, s: tstr, b: bstr) -> bool
event stringEvent(v: tstr)
event bytesEvent(v: bstr)
event intEvent(v: int)
event uintEvent(v: uint)
event doubleEvent(v: float64)
event boolEvent(v: bool)
event anyEvent(v: any)
event stringListEvent(v: [tstr])
event intListEvent(v: [int])
event uintListEvent(v: [uint])
event doubleListEvent(v: [float64])
event boolListEvent(v: [bool])
event listEvent(v: [any])
event mapEvent(v: {tstr: any})
event tripleEvent(i: int, s: tstr, b: bstr)
}