1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
use crate::Error;
pub type Result<T> = ::std::result::Result<T, Error>;
pub mod batch;
pub use self::batch::Batch;
#[cfg(feature = "http")]
pub mod http;
#[cfg(feature = "http")]
pub use self::http::Http;
#[cfg(feature = "ipc")]
pub mod ipc;
#[cfg(feature = "ipc")]
pub use self::ipc::Ipc;
#[cfg(feature = "ws")]
pub mod ws;
#[cfg(feature = "ws")]
pub use self::ws::WebSocket;
#[cfg(any(feature = "ipc", feature = "http", feature = "ws"))]
mod shared;
#[cfg(any(feature = "ipc", feature = "http", feature = "ws"))]
extern crate tokio_core;
#[cfg(any(feature = "ipc"))]
extern crate tokio_io;
#[cfg(any(feature = "ipc", feature = "http", feature = "ws"))]
pub use self::shared::EventLoopHandle;