pub mod async_pipe;
pub mod commands;
pub(crate) mod env;
pub mod fd;
pub mod fs;
pub mod input;
pub(crate) mod network;
pub mod poll;
use crate::error;
pub use crate::sys::tokio_process as process;
pub mod resource;
pub mod signal;
pub mod terminal;
pub(crate) mod users;
#[derive(Debug, thiserror::Error)]
pub enum PlatformError {
#[error("system error: {0}")]
ErrnoError(#[from] nix::errno::Errno),
}
impl From<nix::errno::Errno> for error::ErrorKind {
fn from(err: nix::errno::Errno) -> Self {
PlatformError::ErrnoError(err).into()
}
}