EVIOKGS2YYV4SQ2COOC4M76ODWTGN76NX5VNABM2RVSEAJCA6VQAC
VXJOXN2ORX6FSPXFUKHOGW3W2UWLHJNGSKEYSENEC73BE2LPZEQAC
TGO4TIWURN54UFBLMUX4EZTZBG3TE5F4VRL56BTLOINCKJEUDD7QC
pub async fn connect<F>(self, stop_future: F) -> Result<XmppConnection, failure::Error>
pub async fn connect<F>( self, stop_future: F, ) -> Result<XmppConnection, (std::rc::Rc<config::Account>, failure::Error)>
pub async fn connect<F>(
self,
stop_future: F,
) -> Result<XmppConnection, (std::rc::Rc<config::Account>, failure::Error)>
break Err(failure::format_err!("Stop XMPP connection"))
break Err(( account.clone(), failure::format_err!("Stop XMPP connection"), ))
break Err((
account.clone(),
failure::format_err!("Stop XMPP connection"),
))
break Err(failure::format_err!("Stop XMPP connection(2)"))
break Err(( account.clone(), failure::format_err!("Stop XMPP connection(2)"), ))
failure::format_err!("Stop XMPP connection(2)"),
use log::{info, warn};
use log::{error, info, warn};
Err(e) => break Err(e),
Err((acc, e)) => { error!("Connection error: {}", e); maybe_conn = acc.into(); }
Err((acc, e)) => {
error!("Connection error: {}", e);
maybe_conn = acc.into();
}
Err(e) => Response::builder()
Err(_) => Response::builder()