pub enum ContactError {
InvalidAreas,
InexactEvidence,
Unavailable,
UncheckableOrientation,
}Expand description
Why a contact measurement could not be produced.
Variants§
InvalidAreas
Areas are negative, non-finite, or the contact exceeds the whole.
InexactEvidence
The evidence backing the measurement was not exact and reviewable.
The adapter cannot measure contact for this object.
UncheckableOrientation
The object’s body has no direction the adapter can orient against.
Trait Implementations§
Source§impl Clone for ContactError
impl Clone for ContactError
Source§fn clone(&self) -> ContactError
fn clone(&self) -> ContactError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ContactError
Source§impl Debug for ContactError
impl Debug for ContactError
Source§impl Display for ContactError
impl Display for ContactError
impl Eq for ContactError
Source§impl Error for ContactError
impl Error for ContactError
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()
Source§impl PartialEq for ContactError
impl PartialEq for ContactError
impl StructuralPartialEq for ContactError
Auto Trait Implementations§
impl Freeze for ContactError
impl RefUnwindSafe for ContactError
impl Send for ContactError
impl Sync for ContactError
impl Unpin for ContactError
impl UnsafeUnpin for ContactError
impl UnwindSafe for ContactError
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