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