set_config_from_qr

Function set_config_from_qr 

Source
pub async fn set_config_from_qr(context: &Context, qr: &str) -> Result<()>
Expand description

Sets configuration values from a QR code. “DCACCOUNT:” and “DCLOGIN:” QR codes configure context, but I/O mustn’t be started for such QR codes, consider using Context::add_transport_from_qr which also restarts I/O.