pub enum OrbbecError {
Unknown(OrbbecErrorData),
StdException(OrbbecErrorData),
CameraDisconnected(OrbbecErrorData),
PlatformException(OrbbecErrorData),
InvalidValue(OrbbecErrorData),
WrongAPICallSequence(OrbbecErrorData),
NotImplemented(OrbbecErrorData),
IOException(OrbbecErrorData),
MemoryException(OrbbecErrorData),
UnsupportedOperation(OrbbecErrorData),
}Expand description
Orbbec errors
Variants§
Unknown(OrbbecErrorData)
Unknown error, an error not clearly defined by the SDK
StdException(OrbbecErrorData)
Standard exception, an error caused by the standard library (cpp)
CameraDisconnected(OrbbecErrorData)
Camera/Device has been disconnected, the camera/device is not available
PlatformException(OrbbecErrorData)
An error in the SDK adaptation platform layer, which means an error in the implementation of a specific system platform
InvalidValue(OrbbecErrorData)
Invalid parameter type exception, need to check input parameter
WrongAPICallSequence(OrbbecErrorData)
Wrong API call sequence, the API is called in the wrong order or the wrong parameter is passed
NotImplemented(OrbbecErrorData)
SDK and firmware have not yet implemented this function or feature
IOException(OrbbecErrorData)
SDK access I/O exception error
MemoryException(OrbbecErrorData)
SDK access and use memory errors. For example, the frame fails to allocate memory
UnsupportedOperation(OrbbecErrorData)
Unsupported operation type error by SDK or device
Trait Implementations§
Source§impl Debug for OrbbecError
impl Debug for OrbbecError
Source§impl Display for OrbbecError
impl Display for OrbbecError
Source§impl Error for OrbbecError
impl Error for OrbbecError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for OrbbecError
impl RefUnwindSafe for OrbbecError
impl Send for OrbbecError
impl Sync for OrbbecError
impl Unpin for OrbbecError
impl UnwindSafe for OrbbecError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more