pub type Result<T, E = Error> = std::result::Result<T, E>;
#[derive(thiserror::Error, Debug)]
pub enum Error {
#[error("I/O error: {0}")]
IO(#[from] std::io::Error),
#[error("nix crate error: {0}")]
Nix(#[from] nix::Error),
#[error("etherparse crate error: {0}")]
Etherparse(#[from] etherparse::err::packet::BuildWriteError),
}