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
#[cfg(not(unix))]
compile_error!("This crate can only be used on unix");

mod connection;
mod constants;
mod error;
mod non_zero_bytes;
mod request;
mod response;
mod session;
mod shutdown_mux_master;
mod utils;

pub mod default_config;

pub use non_zero_bytes::*;

pub use error::Error;
pub type Result<T, Err = Error> = std::result::Result<T, Err>;

pub use request::{Session, Socket};
pub use response::Response;

pub use session::*;

pub use connection::*;

pub use shutdown_mux_master::shutdown_mux_master;

#[cfg(test)]
#[macro_use]
extern crate assert_matches;