pub enum DeviceGetCalibrationError {
FailedError,
UnexpectedError(i32),
}
Expand description
Represents errors opening devices with k4a_device_get_calibration
.
Variants§
FailedError
Failed to get device calibration.
UnexpectedError(i32)
Unexpected error code returned by libk4a.
Trait Implementations§
Source§impl Clone for DeviceGetCalibrationError
impl Clone for DeviceGetCalibrationError
Source§fn clone(&self) -> DeviceGetCalibrationError
fn clone(&self) -> DeviceGetCalibrationError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DeviceGetCalibrationError
impl Debug for DeviceGetCalibrationError
Source§impl Display for DeviceGetCalibrationError
impl Display for DeviceGetCalibrationError
Source§impl Error for DeviceGetCalibrationError
impl Error for DeviceGetCalibrationError
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()
impl Copy for DeviceGetCalibrationError
Auto Trait Implementations§
impl Freeze for DeviceGetCalibrationError
impl RefUnwindSafe for DeviceGetCalibrationError
impl Send for DeviceGetCalibrationError
impl Sync for DeviceGetCalibrationError
impl Unpin for DeviceGetCalibrationError
impl UnwindSafe for DeviceGetCalibrationError
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