pub enum Mismatch {
TargetUb,
TargetPoison,
Value,
}Expand description
How the target fails to refine the source.
Variants§
TargetUb
The target has undefined behavior where the source has none.
TargetPoison
The target is poison where the source is not.
Value
The two values differ.
Trait Implementations§
impl Copy for Mismatch
impl Eq for Mismatch
impl StructuralPartialEq for Mismatch
Auto Trait Implementations§
impl Freeze for Mismatch
impl RefUnwindSafe for Mismatch
impl Send for Mismatch
impl Sync for Mismatch
impl Unpin for Mismatch
impl UnsafeUnpin for Mismatch
impl UnwindSafe for Mismatch
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