Struct of_dn_parser::DnComparator
source · 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 copy 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§fn eq(&self, other: &DnComparator) -> bool
fn eq(&self, other: &DnComparator) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for DnComparator
impl PartialOrd for DnComparator
source§fn partial_cmp(&self, other: &DnComparator) -> Option<Ordering>
fn partial_cmp(&self, other: &DnComparator) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for DnComparator
impl StructuralEq for DnComparator
impl StructuralPartialEq for DnComparator
Auto Trait Implementations§
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