pub enum LinearQuantityError {
InvalidInterval,
InexactEvidence,
Unavailable,
InvalidGeometry,
}Expand description
Why a linear quantity could not be produced.
Variants§
InvalidInterval
The bounds are negative, non-finite, or inverted.
InexactEvidence
The evidence backing the measurement was not exact and reviewable.
The adapter cannot measure this quantity for this object.
InvalidGeometry
The requested arrangement is not physically realisable.
Trait Implementations§
Source§impl Clone for LinearQuantityError
impl Clone for LinearQuantityError
Source§fn clone(&self) -> LinearQuantityError
fn clone(&self) -> LinearQuantityError
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 LinearQuantityError
Source§impl Debug for LinearQuantityError
impl Debug for LinearQuantityError
Source§impl Display for LinearQuantityError
impl Display for LinearQuantityError
impl Eq for LinearQuantityError
Source§impl Error for LinearQuantityError
impl Error for LinearQuantityError
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 LinearQuantityError
impl PartialEq for LinearQuantityError
impl StructuralPartialEq for LinearQuantityError
Auto Trait Implementations§
impl Freeze for LinearQuantityError
impl RefUnwindSafe for LinearQuantityError
impl Send for LinearQuantityError
impl Sync for LinearQuantityError
impl Unpin for LinearQuantityError
impl UnsafeUnpin for LinearQuantityError
impl UnwindSafe for LinearQuantityError
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