pciutils 0.1.1

A clone of pciutils in Rust
Documentation
1
2
3
4
5
6
7
8
9
pub mod dump;
pub mod sysfs;

use crate::error::Result;

pub trait Access {
    fn read(&self, offset: u64, length: usize) -> Result<Vec<u8>>;
    fn write(&self, offset: u64, value: &[u8]) -> Result<usize>;
}