Skip to main content

bind_string

Function bind_string 

Source
pub(super) async fn bind_string<R: Runtime>(
    connpt: &str,
    index: usize,
    runtime: &R,
    resolver: &CfgPathResolver,
    mistrust: &Mistrust,
) -> Result<(Listener, Arc<RpcConnInfo>, ListenerGuard)>
Expand description

As RpcListenerSetConfig, but bind directly to a verbatim connect point given as a string.

Uses index to describe which default entry this connect point came from; index should be a human-readable 1-based index.