pub async fn get_parameters_with_logging_hooks<TcpSessionHook, ConnectionEstablishedHook, WriteFinishedHook, ReadFinishedHook>(
mion_addr: Ipv4Addr,
parameter_port: Option<u16>,
timeout: Option<Duration>,
tcp_session_logging_hook: TcpSessionHook,
connection_established_logging_hook: ConnectionEstablishedHook,
write_finished_hook: WriteFinishedHook,
read_finished_hook: ReadFinishedHook,
) -> Result<DumpedMionParameters, CatBridgeError>Expand description
Get parameters from the parameter space of a MION bridge.
These are the parameters you can access from the normal CLI tools:
mionps.exemionparameterspace.exe
It’s unclear what many of these parameters are, but we know it contains at least certain values like the SDK version, NAND Mode, etc.
This is the function that allows you to specify EXTRA logging hooks (e.g.
those that aren’t written to tracing, for like when you need to manually
recreate a CLI with old hacky println!).
You probably want get_parameters.
§Errors
See get_parameters.