macro_rules! ready {
($e:expr $(,)?) => {
match $e {
std::task::Poll::Ready(t) => t,
std::task::Poll::Pending => return std::task::Poll::Pending,
}
};
}
use std::io;
pub mod args;
pub mod config;
pub mod copy;
pub mod pb;
pub fn other(desc: &str) -> io::Error {
io::Error::new(io::ErrorKind::Other, desc)
}