drmem-api 0.5.0

Traits and types used internally by the DrMem control system
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! This crate is used by hardware drivers.
//!
//! The interfaces and types defined in this crate are useful for
//! those wishing to write a new driver for the `drmemd` executable.

mod types;

// Pull types down to the `drmem-api` namespace.

pub use types::device;
pub use types::Error;

/// A specialization of `std::result::Result<>` where the error value
/// is `types::Error`.
pub type Result<T> = std::result::Result<T, Error>;

pub mod client;
pub mod driver;