syscall-rs 0.0.3

Support crate for Linux system programming
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//!
//! This file is part of syscall-rs
//!

/// Result type
pub type Result<T> = std::result::Result<T, Error>;

/// Error type
#[derive(Debug, thiserror::Error)]
pub enum Error {
    /// System call error
    #[error("System call error: {0}")]
    Syscall(#[from] std::io::Error),
}