rusttypes.misc

Members

rusttypes.misc.panic(msg: str) None

Raise a RuntimeError with the given message.

Parameters:

msg (str) – The message to be displayed.

Raises:

RuntimeError – The message is displayed.

rusttypes.misc.stringify(e: Any) str

Convert the given object to a string.

Parameters:

e (Any) – The object to be converted.

Returns:

The converted object.

Return type:

str