get_bridge_version

Function get_bridge_version 

Source
pub fn get_bridge_version() -> Result<String>
Expand description

Gets the bridge version information from the Go side

This function returns version information about the Go FFI bridge, including the protocol version and Go runtime version.

§Errors

Returns an error if:

  • The FFI call fails
  • The returned string is not valid UTF-8

§Returns

String containing bridge version information (e.g., “bridge/1 (Go go1.21.1)”)