revert back to async_trait since having to use 1.75 because of win7
support
This commit is contained in:
parent
5aec5b084a
commit
1fa3837bb0
6 changed files with 138 additions and 130 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue