diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-09-18 11:33:07 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-09-18 11:33:07 +0800 |
| commit | 13ddbc480915b7b8266eceb1305164803a713b04 (patch) | |
| tree | 9b3e4ff9363c54dd9d44b216dd7b47c933c1e912 /src/client | |
| parent | f0972d0c8cd2e3248a80d1a46b987cc4b6edb89e (diff) | |
fixup! feat: client initialization fetches basic infos
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/connector.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/connector.rs b/src/client/connector.rs index ad06cca..ee40089 100644 --- a/src/client/connector.rs +++ b/src/client/connector.rs @@ -2,7 +2,7 @@ pub mod httpconnector; use std::net::IpAddr; -use crate::executor::Executor; +use crate::{client::Client, executor::Executor}; use remote_control_rs::tasks::NETWORK_T; pub type Result<T: std::fmt::Display, E: std::fmt::Debug> = std::result::Result<T, E>; @@ -26,7 +26,7 @@ pub trait Connection { _ = Executor::new(&NETWORK_T, ["true"]); } - fn init<'a>(&self, c: &crate::client::Client<'a, Self>) -> std::result::Result<(), Self::Err> + fn init<'a>(&self, c: &Client<'a, Self>) -> std::result::Result<(), Self::Err> where Self: std::marker::Sized, { |
