pub fn pair_client_config(
identity: &Identity,
pairing: &Pairing,
responder: &ResponderTrust,
config: &PairConfig,
) -> Result<(ClientConfig, ServerName<'static>), PeerError>Expand description
The client configuration of a pairing connection for pairing: an invitation pins the
inviter; otherwise responder decides.
ยงErrors
PeerError::Pairing with PairingError::Unverified for the device flow under
ResponderTrust::Unverified unless the pairing allows it; as ClientBuilder::build.