pub fn dial<M: RemoteMessage>(
addr: ChannelAddr,
) -> Result<ChannelTx<M>, ChannelError>
Expand description
Dial the provided address, returning the corresponding Tx, or error if the channel cannot be established. The underlying connection is dropped whenever the returned Tx is dropped.