Struct domain::base::name::StripSuffixError
source · pub struct StripSuffixError;
Expand description
An attempt was made to strip a suffix that wasn’t actually a suffix.
Trait Implementations§
source§impl Clone for StripSuffixError
impl Clone for StripSuffixError
source§fn clone(&self) -> StripSuffixError
fn clone(&self) -> StripSuffixError
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 StripSuffixError
impl Debug for StripSuffixError
source§impl Display for StripSuffixError
impl Display for StripSuffixError
source§impl Error for StripSuffixError
impl Error for StripSuffixError
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<StripSuffixError> for StripSuffixError
impl PartialEq<StripSuffixError> for StripSuffixError
source§fn eq(&self, other: &StripSuffixError) -> bool
fn eq(&self, other: &StripSuffixError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for StripSuffixError
impl Eq for StripSuffixError
impl StructuralEq for StripSuffixError
impl StructuralPartialEq for StripSuffixError
Auto Trait Implementations§
impl RefUnwindSafe for StripSuffixError
impl Send for StripSuffixError
impl Sync for StripSuffixError
impl Unpin for StripSuffixError
impl UnwindSafe for StripSuffixError
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.