ostd/bus.rs
// SPDX-License-Identifier: MPL-2.0
//! Bus probe error
// TODO: Implement a bus component and move the `BusProbeError` into the module.
/// An error that occurs during bus probing.
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord)]
pub enum BusProbeError {
/// The device does not match the expected criteria.
DeviceNotMatch,
/// An error in accessing the configuration space of the device.
ConfigurationSpaceError,
}