pub type Error = Error;
Expand description
The error used in the PartialNameRef
::try_from(…) implementations.
Aliased Type§
pub enum Error {
Tag(Error),
SomeLowercase,
StartsWithSlash,
RepeatedSlash,
SingleDot,
}
Variants§
Trait Implementations
Source§impl Error for Error
impl Error for Error
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<Infallible> for Error
impl From<Infallible> for Error
Source§fn from(_: Infallible) -> Error
fn from(_: Infallible) -> Error
Converts to this type from the input type.