Struct domain::base::name::LongLabelError
source · pub struct LongLabelError;
Expand description
A label was longer than the allowed 63 octets.
Trait Implementations§
source§impl Clone for LongLabelError
impl Clone for LongLabelError
source§fn clone(&self) -> LongLabelError
fn clone(&self) -> LongLabelError
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 LongLabelError
impl Debug for LongLabelError
source§impl Display for LongLabelError
impl Display for LongLabelError
source§impl Error for LongLabelError
impl Error for LongLabelError
1.30.0 · 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 PartialEq<LongLabelError> for LongLabelError
impl PartialEq<LongLabelError> for LongLabelError
source§fn eq(&self, other: &LongLabelError) -> bool
fn eq(&self, other: &LongLabelError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LongLabelError
impl Eq for LongLabelError
impl StructuralEq for LongLabelError
impl StructuralPartialEq for LongLabelError
Auto Trait Implementations§
impl RefUnwindSafe for LongLabelError
impl Send for LongLabelError
impl Sync for LongLabelError
impl Unpin for LongLabelError
impl UnwindSafe for LongLabelError
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
source§impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
impl<Source, Target> OctetsInto<Target> for Sourcewhere Target: OctetsFrom<Source>,
type Error = <Target as OctetsFrom<Source>>::Error
source§fn try_octets_into(
self
) -> Result<Target, <Source as OctetsInto<Target>>::Error>
fn try_octets_into( self ) -> Result<Target, <Source as OctetsInto<Target>>::Error>
Performs the conversion.
source§fn octets_into(self) -> Targetwhere
Self::Error: Into<Infallible>,
fn octets_into(self) -> Targetwhere Self::Error: Into<Infallible>,
Performs an infallible conversion.