pub struct DnComparator { /* private fields */ }Expand description
A transformed DistinguishedName suitable for comparisons.
Implementations§
Source§impl DnComparator
impl DnComparator
Sourcepub fn new(dn: &DistinguishedName) -> Result<Self>
pub fn new(dn: &DistinguishedName) -> Result<Self>
Create a new comparator from a DistinguishedName.
Trait Implementations§
Source§impl Clone for DnComparator
impl Clone for DnComparator
Source§fn clone(&self) -> DnComparator
fn clone(&self) -> DnComparator
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DnComparator
impl Debug for DnComparator
Source§impl Hash for DnComparator
impl Hash for DnComparator
Source§impl Ord for DnComparator
impl Ord for DnComparator
Source§fn cmp(&self, other: &DnComparator) -> Ordering
fn cmp(&self, other: &DnComparator) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DnComparator
impl PartialEq for DnComparator
Source§impl PartialOrd for DnComparator
impl PartialOrd for DnComparator
impl Eq for DnComparator
impl StructuralPartialEq for DnComparator
Auto Trait Implementations§
impl Freeze for DnComparator
impl RefUnwindSafe for DnComparator
impl Send for DnComparator
impl Sync for DnComparator
impl Unpin for DnComparator
impl UnwindSafe for DnComparator
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