Enum golink::GolinkError
source · pub enum GolinkError {
UrlParseError(ParseError),
InvalidInputUrl,
NoFirstPathSegment,
ImproperTemplate(String),
NotFound(String),
}
Variants§
UrlParseError(ParseError)
InvalidInputUrl
NoFirstPathSegment
ImproperTemplate(String)
NotFound(String)
Trait Implementations§
source§impl Clone for GolinkError
impl Clone for GolinkError
source§fn clone(&self) -> GolinkError
fn clone(&self) -> GolinkError
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 GolinkError
impl Debug for GolinkError
source§impl Display for GolinkError
impl Display for GolinkError
source§impl Error for GolinkError
impl Error for GolinkError
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<Error> for GolinkError
impl From<Error> for GolinkError
source§impl From<ParseError> for GolinkError
impl From<ParseError> for GolinkError
source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
source§impl PartialEq<GolinkError> for GolinkError
impl PartialEq<GolinkError> for GolinkError
source§fn eq(&self, other: &GolinkError) -> bool
fn eq(&self, other: &GolinkError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.