Enum realsense_rust::stream_profile::StreamConstructionError [−][src]
pub enum StreamConstructionError { CouldNotRetrieveStreamData(Rs2Exception, String), CouldNotDetermineIsDefault(Rs2Exception, String), CouldNotGetProfileFromList(Rs2Exception, String), CouldNotCloneProfile(Rs2Exception, String), }
Expand description
Type describing errors that can occur when trying to construct a stream profile.
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
CouldNotRetrieveStreamData(Rs2Exception, String)
Could not get stream data during construction.
CouldNotDetermineIsDefault(Rs2Exception, String)
Could not determine if this stream is the default stream during construction.
CouldNotGetProfileFromList(Rs2Exception, String)
Could not get the stream profile from the stream profile list.
Usually due to an internal exception of some kind.
CouldNotCloneProfile(Rs2Exception, String)
Could not clone the stream profile after acquiring it from the profile list.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for StreamConstructionError
impl Send for StreamConstructionError
impl Sync for StreamConstructionError
impl Unpin for StreamConstructionError
impl UnwindSafe for StreamConstructionError