TryEq

Trait TryEq 

Source
pub trait TryEq: TryPartialEq<Self> { }
Expand description

The try trait for Eq.

That is, if the try_eq method returns Ok, then the requirements of Eq hold.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T: Eq> TryEq for T