Struct of_dn_parser::RdnComparator
source · pub struct RdnComparator { /* private fields */ }Expand description
A transformed RelativeDistinguishedName suitable for comparisons.
Implementations§
source§impl RdnComparator
impl RdnComparator
sourcepub fn new(rdn: &RelativeDistinguishedName) -> Result<Self>
pub fn new(rdn: &RelativeDistinguishedName) -> Result<Self>
Create a new comparator from a RelativeDistinguishedName.
Trait Implementations§
source§impl Clone for RdnComparator
impl Clone for RdnComparator
source§fn clone(&self) -> RdnComparator
fn clone(&self) -> RdnComparator
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 RdnComparator
impl Debug for RdnComparator
source§impl Hash for RdnComparator
impl Hash for RdnComparator
source§impl Ord for RdnComparator
impl Ord for RdnComparator
source§fn cmp(&self, other: &RdnComparator) -> Ordering
fn cmp(&self, other: &RdnComparator) -> 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 RdnComparator
impl PartialEq for RdnComparator
source§fn eq(&self, other: &RdnComparator) -> bool
fn eq(&self, other: &RdnComparator) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for RdnComparator
impl PartialOrd for RdnComparator
source§fn partial_cmp(&self, other: &RdnComparator) -> Option<Ordering>
fn partial_cmp(&self, other: &RdnComparator) -> 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 RdnComparator
impl StructuralEq for RdnComparator
impl StructuralPartialEq for RdnComparator
Auto Trait Implementations§
impl RefUnwindSafe for RdnComparator
impl Send for RdnComparator
impl Sync for RdnComparator
impl Unpin for RdnComparator
impl UnwindSafe for RdnComparator
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