Enum iri_string::relative::RelativeIriParseError
[−]
[src]
pub enum RelativeIriParseError {
SingleColon,
FirstComponentHasColon,
Url(UrlParseError),
}Relative URL parse error.
Variants
SingleColonGot a single colon character.
FirstComponentHasColonHas colon at first component.
Url(UrlParseError)Other URL parsing error.
Trait Implementations
impl Debug for RelativeIriParseError[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Clone for RelativeIriParseError[src]
fn clone(&self) -> RelativeIriParseError[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for RelativeIriParseError[src]
impl PartialEq for RelativeIriParseError[src]
fn eq(&self, __arg_0: &RelativeIriParseError) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &RelativeIriParseError) -> bool[src]
This method tests for !=.
impl Eq for RelativeIriParseError[src]
impl Error for RelativeIriParseError[src]
fn description(&self) -> &str[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>[src]
The lower-level cause of this error, if any. Read more
impl Display for RelativeIriParseError[src]
fn fmt(&self, f: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl From<UrlParseError> for RelativeIriParseError[src]
fn from(e: UrlParseError) -> Self[src]
Performs the conversion.