Enum vl53l1x_uld::Error
source · [−]pub enum Error<E>where
E: Debug,{
CommunicationError(E),
InvalidTimingBudget,
InvalidDistanceMode,
InvalidSigmaThreshold,
}
Expand description
Driver error.
Variants
CommunicationError(E)
Error occured during communication holds the specific error from the communcation
InvalidTimingBudget
The timing budget is invalid.
InvalidDistanceMode
The distance mode is invalid.
InvalidSigmaThreshold
The sigma threshold is invalid.
Trait Implementations
Auto Trait Implementations
impl<E> RefUnwindSafe for Error<E>where
E: RefUnwindSafe,
impl<E> Send for Error<E>where
E: Send,
impl<E> Sync for Error<E>where
E: Sync,
impl<E> Unpin for Error<E>where
E: Unpin,
impl<E> UnwindSafe for Error<E>where
E: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more