pub enum DomainNameFromStr {
NoParse,
}
Expand description
Errors that can arise when converting a &str
into a DomainName
.
Variants§
NoParse
Trait Implementations§
Source§impl Clone for DomainNameFromStr
impl Clone for DomainNameFromStr
Source§fn clone(&self) -> DomainNameFromStr
fn clone(&self) -> DomainNameFromStr
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 DomainNameFromStr
impl Debug for DomainNameFromStr
Source§impl Display for DomainNameFromStr
impl Display for DomainNameFromStr
Source§impl Error for DomainNameFromStr
impl Error for DomainNameFromStr
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 Hash for DomainNameFromStr
impl Hash for DomainNameFromStr
Source§impl PartialEq for DomainNameFromStr
impl PartialEq for DomainNameFromStr
impl Copy for DomainNameFromStr
impl Eq for DomainNameFromStr
impl StructuralPartialEq for DomainNameFromStr
Auto Trait Implementations§
impl Freeze for DomainNameFromStr
impl RefUnwindSafe for DomainNameFromStr
impl Send for DomainNameFromStr
impl Sync for DomainNameFromStr
impl Unpin for DomainNameFromStr
impl UnwindSafe for DomainNameFromStr
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