Enum realsense_rust::sensor::SensorConstructionError [−][src]
pub enum SensorConstructionError { CouldNotGetSensorFromList(Rs2Exception, String), }
Expand description
Type describing errors that can occur when trying to construct a sensor.
Follows the standard pattern of errors where the enum variant describes what the low-level code was attempting to do while the string carried alongside describes the underlying error message from any C++ exceptions that occur.
Variants
CouldNotGetSensorFromList(Rs2Exception, String)
Could not get the correct sensor from the sensor list.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SensorConstructionError
impl Send for SensorConstructionError
impl Sync for SensorConstructionError
impl Unpin for SensorConstructionError
impl UnwindSafe for SensorConstructionError