pub enum PartiallyQualifiedDomainNameError {
DomainIsFullyQualified,
SegmentError(DomainSegmentError),
}Variants§
Trait Implementations§
source§impl Clone for PartiallyQualifiedDomainNameError
impl Clone for PartiallyQualifiedDomainNameError
source§fn clone(&self) -> PartiallyQualifiedDomainNameError
fn clone(&self) -> PartiallyQualifiedDomainNameError
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 Error for PartiallyQualifiedDomainNameError
impl Error for PartiallyQualifiedDomainNameError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl Ord for PartiallyQualifiedDomainNameError
impl Ord for PartiallyQualifiedDomainNameError
source§fn cmp(&self, other: &PartiallyQualifiedDomainNameError) -> Ordering
fn cmp(&self, other: &PartiallyQualifiedDomainNameError) -> 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 PartiallyQualifiedDomainNameError
impl PartialEq for PartiallyQualifiedDomainNameError
source§fn eq(&self, other: &PartiallyQualifiedDomainNameError) -> bool
fn eq(&self, other: &PartiallyQualifiedDomainNameError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for PartiallyQualifiedDomainNameError
impl PartialOrd for PartiallyQualifiedDomainNameError
source§fn partial_cmp(
&self,
other: &PartiallyQualifiedDomainNameError
) -> Option<Ordering>
fn partial_cmp( &self, other: &PartiallyQualifiedDomainNameError ) -> 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 PartiallyQualifiedDomainNameError
impl StructuralPartialEq for PartiallyQualifiedDomainNameError
Auto Trait Implementations§
impl RefUnwindSafe for PartiallyQualifiedDomainNameError
impl Send for PartiallyQualifiedDomainNameError
impl Sync for PartiallyQualifiedDomainNameError
impl Unpin for PartiallyQualifiedDomainNameError
impl UnwindSafe for PartiallyQualifiedDomainNameError
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