pub enum FrameWaitError {
DidErrorDuringFrameWait(Rs2Exception, String),
DidErrorDuringFramePoll(Rs2Exception, String),
DidTimeoutBeforeFrameArrival,
}
Expand description
Enumeration over possible errors that can occur when waiting for a frame.
Variants§
DidErrorDuringFrameWait(Rs2Exception, String)
librealsense2 had an internal error occur while waiting for frames.
DidErrorDuringFramePoll(Rs2Exception, String)
librealsense2 had an internal error while polling for the next set of frames.
DidTimeoutBeforeFrameArrival
The associated function timed out while waiting for frames.
Trait Implementations§
Source§impl Debug for FrameWaitError
impl Debug for FrameWaitError
Source§impl Display for FrameWaitError
impl Display for FrameWaitError
Source§impl Error for FrameWaitError
impl Error for FrameWaitError
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 FrameWaitError
impl RefUnwindSafe for FrameWaitError
impl Send for FrameWaitError
impl Sync for FrameWaitError
impl Unpin for FrameWaitError
impl UnwindSafe for FrameWaitError
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