1//!
2//! This file is part of syscall-rs
3//!
45/// Result type
6pub type Result<T> = std::result::Result<T, Error>;
78/// Error type
9#[derive(Debug, thiserror::Error)]
10pub enum Error {
11/// System call error
12#[error("System call error: {0}")]
13Syscall(#[from] std::io::Error),
14}