pub mod connection;
pub mod diag;
pub mod dns;
pub mod link;
pub mod path;
pub mod process;
pub mod service;
pub mod traits;
#[cfg(any(test, feature = "fixture"))]
pub mod fixture;
pub use connection::*;
pub use diag::*;
pub use dns::*;
pub use link::*;
pub use path::*;
pub use process::*;
pub use service::*;
pub use traits::*;
#[derive(Debug, thiserror::Error)]
pub enum Error {
#[error("backend: {0}")]
Backend(String),
#[error("unsupported on this platform or by this backend: {0}")]
Unsupported(&'static str),
#[error("missing capability: {0}")]
MissingCapability(&'static str),
#[error("parse error: {0}")]
Parse(String),
#[error("not found: {0}")]
NotFound(String),
#[error("io: {0}")]
Io(#[from] std::io::Error),
}
pub type Result<T> = std::result::Result<T, Error>;