hyper_client_sockets/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#[cfg(feature = "unix")]
mod unix;
#[cfg(feature = "unix")]
pub use unix::*;

#[cfg(feature = "vsock")]
mod vsock;
#[cfg(feature = "vsock")]
pub use vsock::*;

#[cfg(feature = "firecracker")]
mod firecracker;
#[cfg(feature = "firecracker")]
pub use firecracker::*;

#[allow(unused)]
fn io_input_err(detail: &str) -> std::io::Error {
    std::io::Error::new(std::io::ErrorKind::InvalidInput, detail)
}