Enum domain::base::name::RelativeFromStrError
source · #[non_exhaustive]pub enum RelativeFromStrError {
FromStr(FromStrError),
AbsoluteName,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
FromStr(FromStrError)
The name could not be parsed.
AbsoluteName
The parsed name was ended in a dot.
Trait Implementations§
source§impl Clone for RelativeFromStrError
impl Clone for RelativeFromStrError
source§fn clone(&self) -> RelativeFromStrError
fn clone(&self) -> RelativeFromStrError
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 RelativeFromStrError
impl Debug for RelativeFromStrError
source§impl Display for RelativeFromStrError
impl Display for RelativeFromStrError
source§impl Error for RelativeFromStrError
impl Error for RelativeFromStrError
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 From<FromStrError> for RelativeFromStrError
impl From<FromStrError> for RelativeFromStrError
source§fn from(src: FromStrError) -> Self
fn from(src: FromStrError) -> Self
Converts to this type from the input type.
source§impl PartialEq for RelativeFromStrError
impl PartialEq for RelativeFromStrError
source§fn eq(&self, other: &RelativeFromStrError) -> bool
fn eq(&self, other: &RelativeFromStrError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RelativeFromStrError
impl Eq for RelativeFromStrError
impl StructuralPartialEq for RelativeFromStrError
Auto Trait Implementations§
impl Freeze for RelativeFromStrError
impl RefUnwindSafe for RelativeFromStrError
impl Send for RelativeFromStrError
impl Sync for RelativeFromStrError
impl Unpin for RelativeFromStrError
impl UnwindSafe for RelativeFromStrError
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) -> Target
fn octets_into(self) -> Target
Performs an infallible conversion.