1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-06-26 19:47:43 +02:00

split -server and -tls msrv and raise to 1.52 (#398)

This commit is contained in:
Rob Ede
2021-10-19 14:53:42 +01:00
committed by GitHub
parent 00775884f8
commit ca77d8d835
13 changed files with 107 additions and 34 deletions

View File

@ -81,14 +81,9 @@ struct Accept {
}
/// Array of u128 with every bit as marker for a worker handle's availability.
#[derive(Debug, Default)]
struct Availability([u128; 4]);
impl Default for Availability {
fn default() -> Self {
Self([0; 4])
}
}
impl Availability {
/// Check if any worker handle is available
#[inline(always)]

View File

@ -181,6 +181,7 @@ impl WorkerHandleAccept {
/// Held by [ServerBuilder](crate::builder::ServerBuilder).
#[derive(Debug)]
pub(crate) struct WorkerHandleServer {
#[allow(dead_code)]
idx: usize,
tx: UnboundedSender<Stop>,
}