revert back to async_trait since having to use 1.75 because of win7

support
This commit is contained in:
rustdesk
2024-03-27 03:36:33 +08:00
parent 5aec5b084a
commit 1fa3837bb0
6 changed files with 138 additions and 130 deletions

View File

@@ -1,4 +1,5 @@
use crate::client::*;
use async_trait::async_trait;
use hbb_common::{
config::PeerConfig,
config::READ_TIMEOUT,
@@ -44,6 +45,7 @@ impl Session {
}
}
#[async_trait]
impl Interface for Session {
fn get_login_config_handler(&self) -> Arc<RwLock<LoginConfigHandler>> {
return self.lc.clone();