Skip to main content

spawn_master_tcp_client_2

Function spawn_master_tcp_client_2 

Source
pub fn spawn_master_tcp_client_2(
    link_error_mode: LinkErrorMode,
    config: MasterChannelConfig,
    endpoints: EndpointList,
    connect_strategy: ConnectStrategy,
    connect_options: ConnectOptions,
    listener: Box<dyn Listener<ClientState>>,
) -> MasterChannel
Expand description

Just like spawn_master_tcp_client, but this variant was added later to also accept and apply ConnectOptions.