hirun 0.1.16

A concurrent framework for asynchronous programming based on event-driven, non-blocking I/O mechanism
Documentation
1
2
3
4
5
6
7
8
9
10
11
12

cfg_if::cfg_if! {
    if #[cfg(unix)] {
        pub const EINVAL: i32 = hierr::EINVAL;
        pub const ESHUTDOWN: i32 = hierr::ESHUTDOWN;
        pub const ECANCELED: i32 = hierr::ECANCELED;
    } else if #[cfg(windows)] {
        pub const EINVAL: i32 = hierr::WSA_INVALID_PARAMETER;
        pub const ESHUTDOWN: i32 = hierr::WSAESHUTDOWN;
        pub const ECANCELED: i32 = hierr::WSACANCELLED;
    }
}