Searched refs:try_cmp (Results 1 – 3 of 3) sorted by relevance
816 assert_eq!(Ordering::Equal, subject.try_cmp(subject).unwrap()); in test_name_cmp()817 assert_eq!(Ordering::Greater, subject.try_cmp(issuer).unwrap()); in test_name_cmp()827 assert_eq!(Ordering::Equal, name.try_cmp(&copied_name).unwrap()); in test_name_to_owned()
1243 pub fn try_cmp(&self, other: &X509NameRef) -> Result<Ordering, ErrorStack> { in try_cmp() method
171 * Added `X509NameRef::try_cmp`.