pub struct StructuralMismatch<Answer> { /* private fields */ }Expand description
One disagreement between a caller-required answer and the answer a structural question computed.
Implementations§
Trait Implementations§
Source§impl<Answer: Clone> Clone for StructuralMismatch<Answer>
impl<Answer: Clone> Clone for StructuralMismatch<Answer>
Source§fn clone(&self) -> StructuralMismatch<Answer>
fn clone(&self) -> StructuralMismatch<Answer>
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<Answer: Copy> Copy for StructuralMismatch<Answer>
Source§impl<Answer: Debug> Debug for StructuralMismatch<Answer>
impl<Answer: Debug> Debug for StructuralMismatch<Answer>
Source§impl<Answer> Display for StructuralMismatch<Answer>
impl<Answer> Display for StructuralMismatch<Answer>
impl<Answer: Eq> Eq for StructuralMismatch<Answer>
Source§impl<Answer: Debug> Error for StructuralMismatch<Answer>
impl<Answer: Debug> Error for StructuralMismatch<Answer>
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<Answer: Hash> Hash for StructuralMismatch<Answer>
impl<Answer: Hash> Hash for StructuralMismatch<Answer>
Source§impl<Answer: PartialEq> PartialEq for StructuralMismatch<Answer>
impl<Answer: PartialEq> PartialEq for StructuralMismatch<Answer>
impl<Answer: PartialEq> StructuralPartialEq for StructuralMismatch<Answer>
Auto Trait Implementations§
impl<Answer> Freeze for StructuralMismatch<Answer>where
Answer: Freeze,
impl<Answer> RefUnwindSafe for StructuralMismatch<Answer>where
Answer: RefUnwindSafe,
impl<Answer> Send for StructuralMismatch<Answer>where
Answer: Send,
impl<Answer> Sync for StructuralMismatch<Answer>where
Answer: Sync,
impl<Answer> Unpin for StructuralMismatch<Answer>where
Answer: Unpin,
impl<Answer> UnsafeUnpin for StructuralMismatch<Answer>where
Answer: UnsafeUnpin,
impl<Answer> UnwindSafe for StructuralMismatch<Answer>where
Answer: UnwindSafe,
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