ostd/
bus.rs

1// SPDX-License-Identifier: MPL-2.0
2
3//! Bus probe error
4
5// TODO: Implement a bus component and move the `BusProbeError` into the module.
6
7/// An error that occurs during bus probing.
8#[derive(Debug, PartialEq, Eq, PartialOrd, Ord)]
9pub enum BusProbeError {
10    /// The device does not match the expected criteria.
11    DeviceNotMatch,
12    /// An error in accessing the configuration space of the device.
13    ConfigurationSpaceError,
14}