pub struct InvalidDomainSegments;Expand description
Returned when attempting to parse an invalid DomainSegments.
Trait Implementations§
Source§impl Debug for InvalidDomainSegments
impl Debug for InvalidDomainSegments
Source§impl Display for InvalidDomainSegments
impl Display for InvalidDomainSegments
Source§impl Error for InvalidDomainSegments
impl Error for InvalidDomainSegments
1.30.0 · 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 From<!> for InvalidDomainSegments
impl From<!> for InvalidDomainSegments
Source§fn from(value: Infallible) -> Self
fn from(value: Infallible) -> Self
Converts to this type from the input type.
Source§impl From<InvalidDomainSegment> for InvalidDomainSegments
impl From<InvalidDomainSegment> for InvalidDomainSegments
Source§fn from(_: InvalidDomainSegment) -> Self
fn from(_: InvalidDomainSegment) -> Self
Converts to this type from the input type.
Source§impl From<InvalidDomainSegments> for InvalidDomainHost
impl From<InvalidDomainSegments> for InvalidDomainHost
Source§fn from(_: InvalidDomainSegments) -> Self
fn from(_: InvalidDomainSegments) -> Self
Converts to this type from the input type.
Source§impl From<InvalidDomainSegments> for SetDomainError
impl From<InvalidDomainSegments> for SetDomainError
Source§fn from(source: InvalidDomainSegments) -> Self
fn from(source: InvalidDomainSegments) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InvalidDomainSegments
impl RefUnwindSafe for InvalidDomainSegments
impl Send for InvalidDomainSegments
impl Sync for InvalidDomainSegments
impl Unpin for InvalidDomainSegments
impl UnsafeUnpin for InvalidDomainSegments
impl UnwindSafe for InvalidDomainSegments
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