Enum hosted_git_info::ParseError [−][src]
pub enum ParseError { InvalidUrl(ParseError), InvalidUriEncoding(Utf8Error), UnknownUrl, }
Expand description
Errors that can occur during parsing.
Variants
Failed to parse the URL with the url
crate.
Tuple Fields of InvalidUrl
0: ParseError
Failed to parse a part of the URL with the percent_encoding
crate.
Tuple Fields of InvalidUriEncoding
0: Utf8Error
The URL could not be recognized.
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ParseError
impl Send for ParseError
impl Sync for ParseError
impl Unpin for ParseError
impl UnwindSafe for ParseError
Blanket Implementations
Mutably borrows from an owned value. Read more