use { crate::{dbus::DbusSocket, utils::errorfmt::ErrorFmt}, std::rc::Rc, }; pub async fn handle_outgoing(socket: Rc) { if let Err(e) = socket.bufio.clone().outgoing().await { log::error!("{}: {}", socket.bus_name, ErrorFmt(e)); } socket.kill(); }