pub enum SpaceError {
InvalidQuantity,
InexactEvidence,
Unavailable,
}Expand description
Why a space measurement could not be produced.
Variants§
InvalidQuantity
A reported quantity is negative, non-finite, or incoherent.
InexactEvidence
The evidence backing the measurement was not exact and reviewable.
The adapter cannot measure this aspect for this space.
Trait Implementations§
Source§impl Clone for SpaceError
impl Clone for SpaceError
Source§fn clone(&self) -> SpaceError
fn clone(&self) -> SpaceError
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 SpaceError
Source§impl Debug for SpaceError
impl Debug for SpaceError
Source§impl Display for SpaceError
impl Display for SpaceError
impl Eq for SpaceError
Source§impl Error for SpaceError
impl Error for SpaceError
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 SpaceError
impl PartialEq for SpaceError
impl StructuralPartialEq for SpaceError
Auto Trait Implementations§
impl Freeze for SpaceError
impl RefUnwindSafe for SpaceError
impl Send for SpaceError
impl Sync for SpaceError
impl Unpin for SpaceError
impl UnsafeUnpin for SpaceError
impl UnwindSafe for SpaceError
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