drmem_api/
lib.rs

1//! This crate is used by hardware drivers.
2//!
3//! The interfaces and types defined in this crate are useful for
4//! those wishing to write a new driver for the `drmemd` executable.
5
6mod types;
7
8// Pull types down to the `drmem-api` namespace.
9
10pub use types::device;
11pub use types::Error;
12
13/// A specialization of `std::result::Result<>` where the error value
14/// is `types::Error`.
15pub type Result<T> = std::result::Result<T, Error>;
16
17pub mod client;
18pub mod driver;