11 lines
270 B
Rust
11 lines
270 B
Rust
use {
|
|
crate::{utils::errorfmt::ErrorFmt, xcon::XconData},
|
|
std::rc::Rc,
|
|
};
|
|
|
|
pub(super) async fn handle_outgoing(socket: Rc<XconData>) {
|
|
if let Err(e) = socket.bufio.clone().outgoing().await {
|
|
log::error!("{}", ErrorFmt(e));
|
|
}
|
|
socket.kill();
|
|
}
|