We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change
struct ClientSettings { buffer_size: usize, rto: Duration, rto_rate: Duration, max_attempts: u32, closed: bool, //handler: Handler, collector: Option<Box<dyn Collector>>, c: Option<Arc<dyn Conn + Send + Sync>>, }
to
struct ClientSettings { buffer_size: usize, rto: Duration, rto_rate: Duration, max_attempts: u32, closed: bool, //handler: Handler, collector: Option<Box<dyn Collector + Send>>, c: Option<Arc<dyn Conn + Send + Sync>>, }
Otherwise, the stun client is !Send, and cannot be spawned as a task on a threadpool
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Change
to
Otherwise, the stun client is !Send, and cannot be spawned as a task on a threadpool
The text was updated successfully, but these errors were encountered: