libdvb 0.3.1

Interface for DVB-API v5 devices in Linux
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14

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

#[derive(Debug, thiserror::Error)]
pub enum Error {
    #[error("IO error: {0}")]
    Io(#[from] std::io::Error),
    #[error("System call error: {0}")]
    Nix(#[from] nix::Error),
    #[error("Invalid property: {0}")]
    InvalidProperty(String),
    #[error("Invalid data: {0}")]
    InvalidData(String),
}