Enum realsense_rust::stream_profile::DataError [−][src]
pub enum DataError { CouldNotGetExtrinsics(Rs2Exception, String), CouldNotSetExtrinsics(Rs2Exception, String), StreamDoesNotHaveVideoIntrinsics, StreamDoesNotHaveMotionIntrinsics, CouldNotGetIntrinsics(Rs2Exception, String), CouldNotGetMotionIntrinsics(Rs2Exception, String), }
Expand description
Type describing errors in getting or setting stream-related data.
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
CouldNotGetExtrinsics(Rs2Exception, String)
Could not get extrinsics between the requested streams.
CouldNotSetExtrinsics(Rs2Exception, String)
Could not set extrinsics between the requested streams.
This stream does not have video intrinsics.
This stream does not have motion intrinsics.
CouldNotGetIntrinsics(Rs2Exception, String)
Could not get video intrinsics from the requested stream.
CouldNotGetMotionIntrinsics(Rs2Exception, String)
Could not get motion intrinsics from the requested stream.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DataError
impl UnwindSafe for DataError