We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Clone
FdSet
1 parent 6ffe71e commit aa42663Copy full SHA for aa42663
src/sys/select.rs
@@ -8,6 +8,7 @@ pub const FD_SETSIZE: RawFd = 1024;
8
9
#[cfg(any(target_os = "macos", target_os = "ios"))]
10
#[repr(C)]
11
+#[derive(Clone)]
12
pub struct FdSet {
13
bits: [i32; FD_SETSIZE as usize / 32]
14
}
0 commit comments